From 777411ae61e57c514532cc9b3c641cf905b488a9 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Mon, 4 Dec 2017 20:49:42 +0100 Subject: [PATCH] iconv.1, pthread_rwlockattr_setkind_np.3, man-pages.7, socket.7, iconvconfig.8: Standardize on "nonzero" Also add this term to the style guide in man-pages(7). Signed-off-by: Michael Kerrisk --- man1/iconv.1 | 2 +- man3/pthread_rwlockattr_setkind_np.3 | 2 +- man7/man-pages.7 | 1 + man7/socket.7 | 2 +- man8/iconvconfig.8 | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/man1/iconv.1 b/man1/iconv.1 index 9e66f988c..f66477d7b 100644 --- a/man1/iconv.1 +++ b/man1/iconv.1 @@ -112,7 +112,7 @@ Print a short usage summary and exit. Print the version number, license, and disclaimer of warranty for .BR iconv . .SH EXIT STATUS -Zero on success, non-zero on errors. +Zero on success, nonzero on errors. .SH ENVIRONMENT Internally, the .B iconv diff --git a/man3/pthread_rwlockattr_setkind_np.3 b/man3/pthread_rwlockattr_setkind_np.3 index 227e0af1c..defaf0d0b 100644 --- a/man3/pthread_rwlockattr_setkind_np.3 +++ b/man3/pthread_rwlockattr_setkind_np.3 @@ -100,7 +100,7 @@ Given valid pointer arguments, always succeeds. On error, .BR pthread_rwlockattr_setkind_np () -returns a non-zero error number. +returns a nonzero error number. .SH ERRORS .TP .BR EINVAL diff --git a/man7/man-pages.7 b/man7/man-pages.7 index cf6727af9..1e2ee61e5 100644 --- a/man7/man-pages.7 +++ b/man7/man-pages.7 @@ -682,6 +682,7 @@ filesystem file system hostname host name inode i-node lowercase lower case, lower-case +nonzero non-zero pathname path name pseudoterminal pseudo-terminal privileged port T{ diff --git a/man7/socket.7 b/man7/socket.7 index 1a2cfe9cc..64696d3b1 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -319,7 +319,7 @@ or an extended BPF program to the socket for use as a filter of incoming packets. A packet will be dropped if the filter program returns zero. If the filter program returns a -non-zero value which is less than the packet's data length, +nonzero value which is less than the packet's data length, the packet will be truncated to the length returned. If the value returned by the filter is greater than or equal to the packet's data length, the packet is allowed to proceed unmodified. diff --git a/man8/iconvconfig.8 b/man8/iconvconfig.8 index c5fdf3cfd..e94ad1e5a 100644 --- a/man8/iconvconfig.8 +++ b/man8/iconvconfig.8 @@ -87,7 +87,7 @@ Print a short usage summary and exit. Print the version number, license, and disclaimer of warranty for .BR iconv . .SH EXIT STATUS -Zero on success, non-zero on errors. +Zero on success, nonzero on errors. .SH FILES .TP .I /usr/lib/gconv