OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / setenv.3
index 2b03816..1c86ffd 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\" and Copyright (C) 2004, 2007 Michael kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -20,6 +21,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
@@ -81,7 +83,7 @@ If
 .I name
 does not exist in the environment,
 then the function succeeds, and the environment is unchanged.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The
 .BR setenv ()
 function returns zero on success,
@@ -95,7 +97,7 @@ function returns zero on success,
 or \-1 on error, with
 .I errno
 set to indicate the cause of the error.
-.SH "ERRORS"
+.SH ERRORS
 .TP
 .B EINVAL
 .I name
@@ -104,9 +106,9 @@ or contains an \(aq=\(aq character.
 .TP
 .B ENOMEM
 Insufficient memory to add a new variable to the environment.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 4.3BSD, POSIX.1-2001.
-.SH "NOTES"
+.SH NOTES
 POSIX.1-2001 does not require
 .BR setenv ()
 or
@@ -127,7 +129,7 @@ should fail with the error
 .BR EINVAL ;
 however, versions of glibc before 2.3.4 allowed an \(aq=\(aq sign in
 .IR name .
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR clearenv (3),
 .BR getenv (3),
 .BR putenv (3),