diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2006-11-03 08:38:26 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2006-11-03 08:38:26 +0000 |
| commit | 9b053d73cd2eb4fa166089b2b1fc5e46938419f5 (patch) | |
| tree | 0a373c3e99724d67985dd8476c559ccc56808928 /lib | |
| parent | 27e5dc8960b97acd07ebfea2cc86ae6dad340d9b (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/getobjformat.3 | 3 | ||||
| -rw-r--r-- | lib/libc/stdlib/getenv.3 | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/gen/getobjformat.3 b/lib/libc/gen/getobjformat.3 index 8705f0166622..051b0099a860 100644 --- a/lib/libc/gen/getobjformat.3 +++ b/lib/libc/gen/getobjformat.3 @@ -116,7 +116,8 @@ vector supplied by the caller are indeterminate. If the environment variable .Ev OBJFORMAT is set, it overrides the default object file format. -.Ev OBJFORMAT takes precedence over +.Ev OBJFORMAT +takes precedence over .Pa /etc/objformat . .El .Sh FILES diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index a75e49fc1155..2f2fabf87af2 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -36,7 +36,7 @@ .\" @(#)getenv.3 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd December 11, 1993 +.Dd October 12, 2006 .Dt GETENV 3 .Os .Sh NAME @@ -75,6 +75,10 @@ The .Fn getenv function obtains the current value of the environment variable, .Fa name . +The application should not modify the string pointed +to by the +.Fn getenv +function. .Pp The .Fn setenv @@ -90,8 +94,7 @@ If the variable does exist, the argument .Fa overwrite is tested; if .Fa overwrite -is -zero, the +is zero, the variable is not reset, otherwise it is reset to the given .Fa value . |
