summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/stdlib/getenv.312
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/getenv.3 b/src/lib/libc/stdlib/getenv.3
index c24e480ffb..9da27ec11c 100644
--- a/src/lib/libc/stdlib/getenv.3
+++ b/src/lib/libc/stdlib/getenv.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: getenv.3,v 1.15 2010/07/06 20:52:00 naddy Exp $ 32.\" $OpenBSD: getenv.3,v 1.16 2011/04/27 13:40:15 otto Exp $
33.\" 33.\"
34.Dd $Mdocdate: July 6 2010 $ 34.Dd $Mdocdate: April 27 2011 $
35.Dt GETENV 3 35.Dt GETENV 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -53,12 +53,14 @@
53.Sh DESCRIPTION 53.Sh DESCRIPTION
54These functions set, unset, and fetch environment variables from the host 54These functions set, unset, and fetch environment variables from the host
55.Em environment list . 55.Em environment list .
56For compatibility with differing environment conventions, the given arguments 56For compatibility with differing environment conventions, the given argument
57.Fa name 57.Fa name
58may be appended with an equal sign
59.Dq Li \&=
60followed by zero or more characters,
58and 61and
59.Fa value 62.Fa value
60may be appended and prepended, respectively, with an equal sign 63may be prepended with an equal sign.
61.Dq Li \&= .
62.Pp 64.Pp
63The 65The
64.Fn getenv 66.Fn getenv