summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2007-04-30 03:47:31 +0000
committerache <ache@FreeBSD.org>2007-04-30 03:47:31 +0000
commitc323ce85c0eaf14d111cdf5ef23b15e276294ea1 (patch)
treea05df9ea2e50ddf63ff3730a1860e15eb336b414 /lib/libc/stdlib/getenv.3
parent027819c292030cc1823b6a8d986682557191dda4 (diff)
downloadFreeBSD-src-c323ce85c0eaf14d111cdf5ef23b15e276294ea1.zip
FreeBSD-src-c323ce85c0eaf14d111cdf5ef23b15e276294ea1.tar.gz
Remove special case skipping initial '=' of the setenv() value "for
compatibility with the different environment conventions" (man page). With the standards, we don't have them different anymore and IEEE Std 1003.1-2001 says that "The values that the environment variables may be assigned are not restricted except that they are considered to end with a null byte"
Diffstat (limited to 'lib/libc/stdlib/getenv.3')
-rw-r--r--lib/libc/stdlib/getenv.35
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index 35547aa..1882ba2 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -57,11 +57,6 @@
These functions set, unset and fetch environment variables from the
host
.Em environment list .
-For compatibility with differing environment conventions,
-the given argument
-.Fa value
-may be prepended with an equal sign
-.Dq Li \&= .
.Pp
The
.Fn getenv
OpenPOWER on IntegriCloud