summaryrefslogtreecommitdiffstats
path: root/man3/setenv.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/setenv.3')
-rw-r--r--man3/setenv.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/setenv.3 b/man3/setenv.3
index 0fe6521..d51f0f8 100644
--- a/man3/setenv.3
+++ b/man3/setenv.3
@@ -15,7 +15,7 @@
.\" Noted nonstandard behavior of setenv() if name contains '='
.\" 2005-08-12, mtk, glibc 2.3.4 fixed the "name contains '='" bug
.\"
-.TH setenv 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH setenv 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
setenv \- change or add an environment variable
.SH LIBRARY
@@ -24,16 +24,16 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
-.PP
+.P
.BI "int setenv(const char *" name ", const char *" value ", int " overwrite );
.BI "int unsetenv(const char *" name );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR setenv (),
.BR unsetenv ():
.nf
@@ -73,7 +73,7 @@ and
.I value
(by contrast with
.BR putenv (3)).
-.PP
+.P
The
.BR unsetenv ()
function deletes the variable
@@ -116,12 +116,11 @@ T{
.BR unsetenv ()
T} Thread safety MT-Unsafe const:env
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY
POSIX.1-2001, 4.3BSD.
-.PP
+.P
Prior to glibc 2.2.2,
.BR unsetenv ()
was prototyped