1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" References consulted:
24 .\" Linux libc source code
25 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
27 .\" Modified Thu Apr 8 15:00:12 1993, David Metcalfe
28 .\" Modified Sat Jul 24 18:44:45 1993, Rik Faith (faith@cs.unc.edu)
29 .\" Translated to German Sat Jun 01 16:34:00 1996 by Patrick Rother <krd@gulu.net>
30 .\" Modified Mon Jun 10 01:10:49 1996 by Martin Schulze (joey@linux.de)
32 .TH PUTENV 3 "18. Mai 1996" "GNU" "Bibliotheksfunktion"
34 putenv \- ändere eine Umgebungsvariable oder füge eine hinzu
37 .B #include <stdlib.h>
39 .BI "int putenv(const char *" string );
44 ändert den Wert von Umgebungsvariablen oder fügt eine in den
45 Umgebungsbereich hinzu. Das Argument
51 noch nicht im Umgebungsbereich existiert, dann wird
53 zum Umgebungsbereich hinzugefügt. Wenn
55 existiert, dann wird der Wert von
57 im Umgebungsbereich auf
63 gibt bei Erfolg null zurück und \-1 wenn ein Fehler auftrat.
67 Nicht ausreichend Speicher vorhanden um neuen Umgebungsbereich zu belegen.
69 SVID 3, POSIX, BSD 4.3