From cc68d8828ea5c4ca6f38f07726e98fe42a324735 Mon Sep 17 00:00:00 2001 From: naddy <> Date: Tue, 6 Jul 2010 20:52:00 +0000 Subject: [PATCH] Document new unsetenv() error returns. From Nicolas Legrand ; ok jmc@ --- src/lib/libc/stdlib/getenv.3 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/libc/stdlib/getenv.3 b/src/lib/libc/stdlib/getenv.3 index a4c3bdf1..c24e480f 100644 --- a/src/lib/libc/stdlib/getenv.3 +++ b/src/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