From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/putenv.htm | 99 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 reference/C/MAN/putenv.htm (limited to 'reference/C/MAN/putenv.htm') diff --git a/reference/C/MAN/putenv.htm b/reference/C/MAN/putenv.htm new file mode 100644 index 0000000..8669e32 --- /dev/null +++ b/reference/C/MAN/putenv.htm @@ -0,0 +1,99 @@ +putenv + +
+
+
+
+
+

PUTENV(3) Linux Programmer's Manual PUTENV(3) +

+ +

NAME +

putenv - change or add an environment variable + +

SYNOPSIS +

#include <stdlib.h> + + int putenv(const char *string); + +

DESCRIPTION +

The putenv() function adds or changes the value of envi- + ronment variables. The argument string is of the form + name = value. If name does not already exist in the envi- + ronment, then string is added to the environment. If name + does exist, then the value of name in the environment is + changed to value. + +

RETURN VALUE +

The putenv() function returns zero on success, or -1 if an + error occurs. + +

ERRORS +

ENOMEM Insufficient space to allocate new environment. + +

CONFORMING TO +

SVID 3, POSIX, BSD 4.3 + +
+
+

SEE ALSO +

+getenv, +setenv, +unsetenv, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

GNU April 8, 1993 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf