.\" 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.
.\"
.\" 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
.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,
or \-1 on error, with
.I errno
set to indicate the cause of the error.
-.SH "ERRORS"
+.SH ERRORS
.TP
.B EINVAL
.I name
.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
.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),