mirror of https://github.com/mkerrisk/man-pages
environ.7: Document convention of string in environ
Document the name=value system and that nul byte is forbidden. Signed-off-by: Bastien Roucariès <rouca@debian.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7939275a0a
commit
2768c48107
|
@ -52,9 +52,15 @@ it inherits a
|
|||
.I copy
|
||||
of its parent's environment.
|
||||
.PP
|
||||
By convention the strings in
|
||||
By convention, the strings in
|
||||
.I environ
|
||||
have the form "\fIname\fP\fB=\fP\fIvalue\fP".
|
||||
Names of environment variables are case-sensitive and must not contain
|
||||
the character "\fB=\fP". The values of environment variables can be anything
|
||||
that can be represented as a string. A value and a name must not contain an
|
||||
embedded null byte (\(aq\e0\(aq),
|
||||
since this is assumed to terminate the string.
|
||||
.PP
|
||||
Common examples are:
|
||||
.TP
|
||||
.B USER
|
||||
|
|
Loading…
Reference in New Issue