summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2011-04-27 13:40:15 +0000
committerotto <otto@openbsd.org>2011-04-27 13:40:15 +0000
commit6a0a9f78111fdeff38ba5ad550e9c36ce13fc638 (patch)
tree1c2f9af919edd00d2d8bfcca3423fcdaab51e0b8 /lib/libc/stdlib
parentremove the blurb on siteXX.tgz and install.site: we can just drop this (diff)
downloadwireguard-openbsd-6a0a9f78111fdeff38ba5ad550e9c36ce13fc638.tar.xz
wireguard-openbsd-6a0a9f78111fdeff38ba5ad550e9c36ce13fc638.zip
Tweak the description of the optional parts around =. Found this in my
tree, no idea where it came from; ok millert@ jmc@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getenv.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index c24e480ffbc..9da27ec11cf 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.15 2010/07/06 20:52:00 naddy Exp $
+.\" $OpenBSD: getenv.3,v 1.16 2011/04/27 13:40:15 otto Exp $
.\"
-.Dd $Mdocdate: July 6 2010 $
+.Dd $Mdocdate: April 27 2011 $
.Dt GETENV 3
.Os
.Sh NAME
@@ -53,12 +53,14 @@
.Sh DESCRIPTION
These functions set, unset, and fetch environment variables from the host
.Em environment list .
-For compatibility with differing environment conventions, the given arguments
+For compatibility with differing environment conventions, the given argument
.Fa name
+may be appended with an equal sign
+.Dq Li \&=
+followed by zero or more characters,
and
.Fa value
-may be appended and prepended, respectively, with an equal sign
-.Dq Li \&= .
+may be prepended with an equal sign.
.Pp
The
.Fn getenv