diff options
author | otto <> | 2011-04-27 13:40:15 +0000 |
---|---|---|
committer | otto <> | 2011-04-27 13:40:15 +0000 |
commit | f5a4d76852893161d4d1d5c6da7cd8e2e0712d45 (patch) | |
tree | 5dc64a184c53bcc034065b6bd822f015ad808139 /src | |
parent | 3207237946ebbb52734204bdbb4c7e0e9bb896e0 (diff) | |
download | openbsd-f5a4d76852893161d4d1d5c6da7cd8e2e0712d45.tar.gz openbsd-f5a4d76852893161d4d1d5c6da7cd8e2e0712d45.tar.bz2 openbsd-f5a4d76852893161d4d1d5c6da7cd8e2e0712d45.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 'src')
-rw-r--r-- | src/lib/libc/stdlib/getenv.3 | 12 |
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 |
54 | These functions set, unset, and fetch environment variables from the host | 54 | These functions set, unset, and fetch environment variables from the host |
55 | .Em environment list . | 55 | .Em environment list . |
56 | For compatibility with differing environment conventions, the given arguments | 56 | For compatibility with differing environment conventions, the given argument |
57 | .Fa name | 57 | .Fa name |
58 | may be appended with an equal sign | ||
59 | .Dq Li \&= | ||
60 | followed by zero or more characters, | ||
58 | and | 61 | and |
59 | .Fa value | 62 | .Fa value |
60 | may be appended and prepended, respectively, with an equal sign | 63 | may be prepended with an equal sign. |
61 | .Dq Li \&= . | ||
62 | .Pp | 64 | .Pp |
63 | The | 65 | The |
64 | .Fn getenv | 66 | .Fn getenv |