diff options
author | 2010-07-06 20:52:00 +0000 | |
---|---|---|
committer | 2010-07-06 20:52:00 +0000 | |
commit | 535b3acd90fd8a6679a0e94b9e25a282924b42bf (patch) | |
tree | 62320d2cabdaaea4c4c37a8ca8f1116dbe56516f /lib/libc/stdlib/getenv.3 | |
parent | sun4e support in the bootblocks, derived from a diff from jason@ 7 years ago. (diff) | |
download | wireguard-openbsd-535b3acd90fd8a6679a0e94b9e25a282924b42bf.tar.xz wireguard-openbsd-535b3acd90fd8a6679a0e94b9e25a282924b42bf.zip |
Document new unsetenv() error returns.
From Nicolas Legrand <nlegrand@ethelred.fr>; ok jmc@
Diffstat (limited to 'lib/libc/stdlib/getenv.3')
-rw-r--r-- | lib/libc/stdlib/getenv.3 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index a4c3bdf195a..c24e480ffbc 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getenv.3,v 1.14 2010/03/10 20:46:16 kili Exp $ +.\" $OpenBSD: getenv.3,v 1.15 2010/07/06 20:52:00 naddy Exp $ .\" -.Dd $Mdocdate: March 10 2010 $ +.Dd $Mdocdate: July 6 2010 $ .Dt GETENV 3 .Os .Sh NAME @@ -130,6 +130,12 @@ containing an character. .Pp The +.Fn unsetenv +function was passed an empty +.Ar name +or a NULL pointer. +.Pp +The .Fn putenv function was passed a .Ar string |