diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2006-10-12 08:39:24 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2006-10-12 08:39:24 +0000 |
| commit | 79d9a182abe76a8458dada605c36c31be3ea4e2e (patch) | |
| tree | d0c2d687f64a247362c6fb743785e04ec599342b /lib/libc/stdlib/getenv.3 | |
| parent | f53c03a0e3bfc98dd032e1f20e6b74d3807f9b0e (diff) | |
Note that the value from getenv() should not be modified by applications.
PR: 60544
Reviewed by: ru
Notes
svn path=/head/; revision=163262
Diffstat (limited to 'lib/libc/stdlib/getenv.3')
| -rw-r--r-- | lib/libc/stdlib/getenv.3 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index 4f7126b4884b..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 |
