aboutsummaryrefslogtreecommitdiffstats
path: root/man2/execve.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-01-03 15:01:50 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-01-03 15:47:06 +1300
commitb437fdd90aabda1e5425116558e17d35a94e0613 (patch)
tree0f84a69686fbf80bfc01a9becf2355ad56b5c404 /man2/execve.2
parentefb12489de4c98ab1f5d82186c2381522b155b5f (diff)
downloadman-pages-b437fdd90aabda1e5425116558e17d35a94e0613.tar.gz
epoll_ctl.2, execve.2, recv.2, timer_create.2, wait.2, argz_add.3, basename.3, dlopen.3, exec.3, fopencookie.3, fts.3, getaddrinfo.3, getcwd.3, gethostbyname.3, getifaddrs.3, getipnodebyname.3, getlogin.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, getusershell.3, glob.3, if_nameindex.3, inet_ntop.3, lio_listio.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mq_notify.3, ptsname.3, realpath.3, setnetgrent.3, sigvec.3, strsignal.3, strtok.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wcstombs.3, xdr.3: Global fix of "NULL pointer"
Change "NULL pointer: to "NUL " or null pointer". POSIX uses the term "null pointer", not "NULL pointer". Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/execve.2')
-rw-r--r--man2/execve.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/execve.2 b/man2/execve.2
index 803caecb9e..bee813da01 100644
--- a/man2/execve.2
+++ b/man2/execve.2
@@ -62,7 +62,7 @@ By convention, the first of these strings should contain the filename
associated with the file being executed.
\fIenvp\fP is an array of strings, conventionally of the form
\fBkey=value\fP, which are passed as environment to the new program.
-Both \fIargv\fP and \fIenvp\fP must be terminated by a NULL pointer.
+Both \fIargv\fP and \fIenvp\fP must be terminated by a null pointer.
The argument vector and environment can be accessed by the
called program's main function, when it is defined as:
@@ -502,7 +502,7 @@ or
.I envp
can be specified as NULL,
which has the same effect as specifying these arguments
-as a pointer to a list containing a single NULL pointer.
+as a pointer to a list containing a single null pointer.
.B "Do not take advantage of this misfeature!"
It is nonstandard and nonportable:
on most other UNIX systems doing this will result in an error