Browse Source

Tweak the description of the optional parts around =. Found this in my

tree, no idea where it came from; ok millert@ jmc@
OPENBSD_5_0
otto 13 years ago
parent
commit
9679bf7a9f
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      src/lib/libc/stdlib/getenv.3

+ 7
- 5
src/lib/libc/stdlib/getenv.3 View File

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt GETENV 3
.Os .Os
.Sh NAME .Sh NAME
@ -53,12 +53,14 @@
.Sh DESCRIPTION .Sh DESCRIPTION
These functions set, unset, and fetch environment variables from the host These functions set, unset, and fetch environment variables from the host
.Em environment list . .Em environment list .
For compatibility with differing environment conventions, the given arguments
For compatibility with differing environment conventions, the given argument
.Fa name .Fa name
may be appended with an equal sign
.Dq Li \&=
followed by zero or more characters,
and and
.Fa value .Fa value
may be appended and prepended, respectively, with an equal sign
.Dq Li \&= .
may be prepended with an equal sign.
.Pp .Pp
The The
.Fn getenv .Fn getenv


Loading…
Cancel
Save