summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.3
diff options
context:
space:
mode:
authorkili <kili@openbsd.org>2010-03-10 20:46:16 +0000
committerkili <kili@openbsd.org>2010-03-10 20:46:16 +0000
commite1837cdb66a5a38cdb1c1075527a1d8c265115a9 (patch)
treef0069f55d14d673662059089e04cd34085b7724b /lib/libc/stdlib/getenv.3
parentfix the option that sets the image operating system. (diff)
downloadwireguard-openbsd-e1837cdb66a5a38cdb1c1075527a1d8c265115a9.tar.xz
wireguard-openbsd-e1837cdb66a5a38cdb1c1075527a1d8c265115a9.zip
It's unsetenv() that doesn't like `=' in the argument, not putenv().
ok millert@
Diffstat (limited to 'lib/libc/stdlib/getenv.3')
-rw-r--r--lib/libc/stdlib/getenv.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index 484ff991dc1..a4c3bdf195a 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.13 2009/06/03 15:52:16 millert Exp $
+.\" $OpenBSD: getenv.3,v 1.14 2010/03/10 20:46:16 kili Exp $
.\"
-.Dd $Mdocdate: June 3 2009 $
+.Dd $Mdocdate: March 10 2010 $
.Dt GETENV 3
.Os
.Sh NAME
@@ -122,7 +122,7 @@ is successful, the string returned should be considered read-only.
The
.Fn setenv
or
-.Fn putenv
+.Fn unsetenv
function was passed a
.Ar name
containing an