diff options
Diffstat (limited to 'src/lib/libc/stdlib/getenv.3')
-rw-r--r-- | src/lib/libc/stdlib/getenv.3 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/getenv.3 b/src/lib/libc/stdlib/getenv.3 index 411eb35da4..24a8d3d095 100644 --- a/src/lib/libc/stdlib/getenv.3 +++ b/src/lib/libc/stdlib/getenv.3 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" Copyright (c) 1988, 1991 The Regents of the University of California. | 1 | .\" Copyright (c) 1988, 1991, 1993 |
2 | .\" All rights reserved. | 2 | .\" The Regents of the University of California. All rights reserved. |
3 | .\" | 3 | .\" |
4 | .\" This code is derived from software contributed to Berkeley by | 4 | .\" This code is derived from software contributed to Berkeley by |
5 | .\" the American National Standards Committee X3, on Information | 5 | .\" the American National Standards Committee X3, on Information |
@@ -33,10 +33,9 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" from: @(#)getenv.3 6.11 (Berkeley) 6/29/91 | 36 | .\" $OpenBSD: getenv.3,v 1.2 1996/08/10 05:03:00 tholo Exp $ |
37 | .\" $Id: getenv.3,v 1.1.1.1 1995/10/18 08:42:17 deraadt Exp $ | ||
38 | .\" | 37 | .\" |
39 | .Dd June 29, 1991 | 38 | .Dd December 11, 1993 |
40 | .Dt GETENV 3 | 39 | .Dt GETENV 3 |
41 | .Os | 40 | .Os |
42 | .Sh NAME | 41 | .Sh NAME |
@@ -75,7 +74,7 @@ function obtains the current value of the environment variable, | |||
75 | .Ar name . | 74 | .Ar name . |
76 | If the variable | 75 | If the variable |
77 | .Ar name | 76 | .Ar name |
78 | is not in the current environment , | 77 | is not in the current environment, |
79 | a null pointer is returned. | 78 | a null pointer is returned. |
80 | .Pp | 79 | .Pp |
81 | The | 80 | The |
@@ -121,7 +120,7 @@ return zero if successful; otherwise the global variable | |||
121 | is set to indicate the error and a | 120 | is set to indicate the error and a |
122 | \-1 is returned. | 121 | \-1 is returned. |
123 | .Sh ERRORS | 122 | .Sh ERRORS |
124 | .Bl -tag -width Er | 123 | .Bl -tag -width [ENOMEM] |
125 | .It Bq Er ENOMEM | 124 | .It Bq Er ENOMEM |
126 | The function | 125 | The function |
127 | .Fn setenv | 126 | .Fn setenv |