diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-01-03 15:01:50 +1300 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-01-03 15:47:06 +1300 |
| commit | b437fdd90aabda1e5425116558e17d35a94e0613 (patch) | |
| tree | 0f84a69686fbf80bfc01a9becf2355ad56b5c404 /man2 | |
| parent | efb12489de4c98ab1f5d82186c2381522b155b5f (diff) | |
| download | man-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')
| -rw-r--r-- | man2/epoll_ctl.2 | 4 | ||||
| -rw-r--r-- | man2/execve.2 | 4 | ||||
| -rw-r--r-- | man2/recv.2 | 2 | ||||
| -rw-r--r-- | man2/timer_create.2 | 2 | ||||
| -rw-r--r-- | man2/wait.2 | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/man2/epoll_ctl.2 b/man2/epoll_ctl.2 index d20efeb12f..1fbe74eeea 100644 --- a/man2/epoll_ctl.2 +++ b/man2/epoll_ctl.2 @@ -239,7 +239,7 @@ interface supports all file descriptors that support .SH BUGS In kernel versions before 2.6.9, the .B EPOLL_CTL_DEL -operation required a non-NULL pointer in +operation required a non-null pointer in .IR event , even though this argument is ignored. Since Linux 2.6.9, @@ -248,7 +248,7 @@ can be specified as NULL when using .BR EPOLL_CTL_DEL . Applications that need to be portable to kernels before 2.6.9 -should specify a non-NULL pointer in +should specify a non-null pointer in .IR event . .SH SEE ALSO .BR epoll_create (2), 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 diff --git a/man2/recv.2 b/man2/recv.2 index 1d3ae18bac..267d4ade18 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -313,7 +313,7 @@ and .I msg_namelen specify the source address if the socket is unconnected; .I msg_name -may be given as a NULL pointer if no names are desired or required. +may be given as a null pointer if no names are desired or required. The fields .I msg_iov and diff --git a/man2/timer_create.2 b/man2/timer_create.2 index 67f00070f0..8bc5425e83 100644 --- a/man2/timer_create.2 +++ b/man2/timer_create.2 @@ -54,7 +54,7 @@ _POSIX_C_SOURCE\ >=\ 199309L creates a new per-process interval timer. The ID of the new timer is returned in the buffer pointed to by .IR timerid , -which must be a non-NULL pointer. +which must be a non-null pointer. This ID is unique within the process, until the timer is deleted. The new timer is initially disarmed. diff --git a/man2/wait.2 b/man2/wait.2 index 5c39f8a561..f5ea617380 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -539,7 +539,7 @@ must ensure that .I infop points to a .I siginfo_t -structure (i.e., that it is a non-NULL pointer). +structure (i.e., that it is a non-null pointer). On Linux, if .I infop is NULL, |
