diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-01-16 17:40:55 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-01-16 17:40:55 +0100 |
commit | c7094399ad4e8fa524ef058239ff5f16dbdfa148 (patch) | |
tree | 991aa67c7a3005d2a67bdb108fc7873c2046fc8f | |
parent | c8f2dd479bbad04ca1aab7e5fd2d17a38340966d (diff) |
intro.1, time.1, adjtimex.2, capget.2, eventfd.2, fcntl.2, getrlimit.2, getsockopt.2, gettimeofday.2, intro.2, ioctl_list.2, ioperm.2, mlock.2, pivot_root.2, poll.2, prctl.2, ptrace.2, sched_setscheduler.2, select_tut.2, semget.2, sigaltstack.2, signalfd.2, sysctl.2, timer_settime.2, timerfd_create.2, wait.2, CPU_SET.3, argz_add.3, assert_perror.3, atexit.3, backtrace.3, bcmp.3, clearenv.3, ctime.3, dl_iterate_phdr.3, dlopen.3, ecvt.3, errno.3, error.3, ether_aton.3, exit.3, fenv.3, ferror.3, finite.3, flockfile.3, fnmatch.3, fpathconf.3, fpclassify.3, ftime.3, ftok.3, ftw.3, fwide.3, getaddrinfo.3, gethostbyname.3, getlogin.3, getnameinfo.3, getnetent.3, getopt.3, getprotoent.3, getrpcent.3, getservent.3, glob.3, hsearch.3, inet.3, isalpha.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, longjmp.3, lsearch.3, malloc.3, matherr.3, mblen.3, mbsinit.3, mbtowc.3, on_exit.3, printf.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_equal.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, ptsname.3, putenv.3, putgrent.3, raise.3, rcmd.3, regex.3, rexec.3, rpc.3, rpmatch.3, rtnetlink.3, scandir.3, sem_init.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, signbit.3, stdio_ext.3, strtod.3, strtol.3, strtoul.3, system.3, termios.3, timeradd.3, tzset.3, ualarm.3, wctomb.3, xdr.3, st.4, tty_ioctl.4, core.5, elf.5, proc.5, bootparam.7, capabilities.7, icmp.7, ip.7, ipv6.7, math_error.7, mdoc.samples.7, mq_overview.7, pthreads.7, raw.7, regex.7, socket.7, tcp.7, tzselect.8: Global fix: s/non-zero/nonzero/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
155 files changed, 258 insertions, 258 deletions
diff --git a/man1/intro.1 b/man1/intro.1 index ad86de1f4..33191e574 100644 --- a/man1/intro.1 +++ b/man1/intro.1 @@ -37,11 +37,11 @@ This value can be tested (e.g., in most shells the variable contains the status of the last executed command) to see whether the command completed successfully. A zero exit status is conventionally used to indicate success, -and a non-zero status means that the command was unsuccessful. +and a nonzero status means that the command was unsuccessful. (Details of the exit status can be found in .BR wait (2).) -A non-zero exit status can be in the range 1 to 255, and some commands -use different non-zero status values to indicate the reason why the +A nonzero exit status can be in the range 1 to 255, and some commands +use different nonzero status values to indicate the reason why the command failed. .SH NOTES Linux is a flavor of Unix, and as a first approximation diff --git a/man1/time.1 b/man1/time.1 index 271d843aa..662c696e8 100644 --- a/man1/time.1 +++ b/man1/time.1 @@ -68,7 +68,7 @@ was invoked, the exit status is that of Otherwise it is 127 if .I command could not be found, 126 if it could be found but could not be invoked, -and some other non-zero value (1-125) if something else went wrong. +and some other nonzero value (1-125) if something else went wrong. .SH ENVIRONMENT The variables .BR LANG , diff --git a/man2/adjtimex.2 b/man2/adjtimex.2 index 94e62a890..286dc952d 100644 --- a/man2/adjtimex.2 +++ b/man2/adjtimex.2 @@ -134,7 +134,7 @@ is the system timer interrupt frequency. .TP .B EPERM .I buf.mode -is non-zero and the caller does not have sufficient privilege. +is nonzero and the caller does not have sufficient privilege. Under Linux the .B CAP_SYS_TIME capability is required. diff --git a/man2/capget.2 b/man2/capget.2 index f51bd12b9..1d8530084 100644 --- a/man2/capget.2 +++ b/man2/capget.2 @@ -129,7 +129,7 @@ calls can operate on the capabilities of the thread specified by the .I pid field of .I hdrp -when that is non-zero, or on the capabilities of the calling thread if +when that is nonzero, or on the capabilities of the calling thread if .I pid is 0. If @@ -203,7 +203,7 @@ capability is required. occur if a thread without this capability tried to change its own capabilities by specifying the .I pid -field as a non-zero value (i.e., the value returned by +field as a nonzero value (i.e., the value returned by .BR getpid (2)) instead of 0.) .TP diff --git a/man2/eventfd.2 b/man2/eventfd.2 index 3570990c4..346e9316b 100644 --- a/man2/eventfd.2 +++ b/man2/eventfd.2 @@ -70,7 +70,7 @@ eventfd object. The following operations can be performed on the file descriptor: .TP .BR read (2) -If the eventfd counter has a non-zero value, then a +If the eventfd counter has a nonzero value, then a .BR read (2) returns 8 bytes containing that value, and the counter's value is reset to zero. @@ -79,7 +79,7 @@ i.e., the native byte order for integers on the host machine.) .IP If the counter is zero at the time of the .BR read (2), -then the call either blocks until the counter becomes non-zero, +then the call either blocks until the counter becomes nonzero, or fails with the error .B EAGAIN if the file descriptor has been made non-blocking. @@ -201,7 +201,7 @@ is set to indicate the error. is invalid; or, in Linux 2.6.26 or earlier, .I flags -is non-zero. +is nonzero. .TP .B EMFILE The per-process limit on open file descriptors has been reached. diff --git a/man2/fcntl.2 b/man2/fcntl.2 index 9c48f62c6..7755df5d0 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -523,7 +523,7 @@ The following was true in 2.6.x kernels up to and including kernel 2.6.11: .RS .IP -If a non-zero value is given to +If a nonzero value is given to .B F_SETSIG in a multithreaded process running with a threading library that supports thread groups (e.g., NPTL), @@ -676,7 +676,7 @@ is available to the signal handler if installed with .\" .\" The following was true only up until 2.6.11: .\" -.\" Additionally, passing a non-zero value to +.\" Additionally, passing a nonzero value to .\" .B F_SETSIG .\" changes the signal recipient from a whole process to a specific thread .\" within a process. @@ -686,7 +686,7 @@ is available to the signal handler if installed with By using .B F_SETSIG -with a non-zero value, and setting +with a nonzero value, and setting .B SA_SIGINFO for the signal handler (see diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index b4b6245b9..35c9eed59 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -138,7 +138,7 @@ Maximum size of .I core file. When 0 no core dump files are created. -When non-zero, larger dumps are truncated to this size. +When nonzero, larger dumps are truncated to this size. .TP .B RLIMIT_CPU CPU time limit in seconds. diff --git a/man2/getsockopt.2 b/man2/getsockopt.2 index d91e1ac88..d29224396 100644 --- a/man2/getsockopt.2 +++ b/man2/getsockopt.2 @@ -120,7 +120,7 @@ argument for .IR optval . For .BR setsockopt (), -the argument should be non-zero to enable a boolean option, or zero if the +the argument should be nonzero to enable a boolean option, or zero if the option is to be disabled. .PP For a description of the available socket options see diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index d03687610..817d8fa78 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -178,7 +178,7 @@ argument, the .I tv argument is NULL and the .I tz_minuteswest -field is non-zero. +field is nonzero. In such a case it is assumed that the CMOS clock is on local time, and that it has to be incremented by this amount to get UTC system time. diff --git a/man2/intro.2 b/man2/intro.2 index ae0cec8e0..25f26806a 100644 --- a/man2/intro.2 +++ b/man2/intro.2 @@ -51,7 +51,7 @@ absolute value into the variable, and returns \-1 as the return value of the wrapper. The value returned by a successful system call depends on the call. -Many system calls return 0 on success, but some can return non-zero +Many system calls return 0 on success, but some can return nonzero values from a successful call. The details are described in the individual manual pages. diff --git a/man2/ioctl_list.2 b/man2/ioctl_list.2 index 171ca63d5..10470290d 100644 --- a/man2/ioctl_list.2 +++ b/man2/ioctl_list.2 @@ -733,13 +733,13 @@ takes a .IR "struct floppy raw_cmd *" . If .I flags & FD_RAW_WRITE -is non-zero, then +is nonzero, then .I data points to an input buffer of length .IR length . If .I flags & FD_RAW_READ -is non-zero, then +is nonzero, then .I data points to an output buffer of length .IR length . diff --git a/man2/ioperm.2 b/man2/ioperm.2 index 479363f4c..ec4612ba2 100644 --- a/man2/ioperm.2 +++ b/man2/ioperm.2 @@ -48,7 +48,7 @@ ioperm \- set port input/output permissions sets the port access permission bits for the calling process for \fInum\fP bytes starting from port address \fIfrom\fP to the value \fIturn_on\fP. -If \fIturn_on\fP is non-zero, the calling process must be privileged +If \fIturn_on\fP is nonzero, the calling process must be privileged .RB ( CAP_SYS_RAWIO ). .\" FIXME is the following ("Only the first 0x3ff I/O ports can be diff --git a/man2/mlock.2 b/man2/mlock.2 index a610abab3..07e3119a6 100644 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -123,7 +123,7 @@ address space of the process. .SH ERRORS .TP .B ENOMEM -(Linux 2.6.9 and later) the caller had a non-zero +(Linux 2.6.9 and later) the caller had a nonzero .B RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitted. @@ -310,7 +310,7 @@ Since kernel 2.6.9, if a privileged process calls and later drops privileges (loses the .B CAP_IPC_LOCK capability by, for example, -setting its effective UID to a non-zero value), +setting its effective UID to a nonzero value), then subsequent memory allocations (e.g., .BR mmap (2), .BR brk (2)) diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index 492906252..1ba587d52 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -71,7 +71,7 @@ They must be directories. \fInew_root\fP and \fIput_old\fP must not be on the same file system as the current root. .IP \- 3 -\fIput_old\fP must be underneath \fInew_root\fP, that is, adding a non-zero +\fIput_old\fP must be underneath \fInew_root\fP, that is, adding a nonzero number of \fI/..\fP to the string pointed to by \fIput_old\fP must yield the same directory as \fInew_root\fP. .IP \- 3 diff --git a/man2/poll.2 b/man2/poll.2 index 742a21fc9..da316793a 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -249,7 +249,7 @@ is specified as NULL, then can block indefinitely. .SH "RETURN VALUE" On success, a positive number is returned; this is -the number of structures which have non-zero +the number of structures which have nonzero .I revents fields (in other words, those descriptors with events or errors reported). A value of 0 indicates that the call timed out and no file diff --git a/man2/prctl.2 b/man2/prctl.2 index 26d5e7e29..48d0137e8 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -121,7 +121,7 @@ Return (as the function result) the current state of the calling process's dumpable flag. .\" Since Linux 2.6.13, the dumpable flag can have the value 2, .\" but in 2.6.13 PR_GET_DUMPABLE simply returns 1 if the dumpable -.\" flags has a non-zero value. This was fixed in 2.6.14. +.\" flags has a nonzero value. This was fixed in 2.6.14. .TP .BR PR_SET_ENDIAN " (since Linux 2.6.18, PowerPC only)" Set the endian-ness of the calling process to the value given @@ -173,7 +173,7 @@ Set the state of the thread's "keep capabilities" flag, which determines whether the threads's effective and permitted capability sets are cleared when a change is made to the threads's user IDs such that the threads's real UID, effective UID, and saved set-user-ID -all become non-zero when at least one of them previously had the value 0. +all become nonzero when at least one of them previously had the value 0. (By default, these credential sets are cleared). .I arg2 must be either 0 (capabilities are cleared) or 1 (capabilities are kept). diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 1da8efbca..07d1c2284 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -305,7 +305,7 @@ for .TP .B PTRACE_CONT Restarts the stopped child process. -If \fIdata\fP is non-zero and not +If \fIdata\fP is nonzero and not .BR SIGSTOP , it is interpreted as a signal to be delivered to the child; otherwise, no signal is delivered. diff --git a/man2/sched_setscheduler.2 b/man2/sched_setscheduler.2 index 1508445b5..84fe86100 100644 --- a/man2/sched_setscheduler.2 +++ b/man2/sched_setscheduler.2 @@ -266,7 +266,7 @@ policies). .SS Privileges and resource limits In Linux kernels before 2.6.12, only privileged .RB ( CAP_SYS_NICE ) -processes can set a non-zero static priority (i.e., set a real-time +processes can set a nonzero static priority (i.e., set a real-time scheduling policy). The only change that an unprivileged process can make is to set the .B SCHED_OTHER @@ -287,7 +287,7 @@ and policies. The rules for changing scheduling policy and priority are as follows: .IP * 2 -If an unprivileged process has a non-zero +If an unprivileged process has a nonzero .B RLIMIT_RTPRIO soft limit, then it can change its scheduling policy and priority, subject to the restriction that the priority cannot be set to a diff --git a/man2/select_tut.2 b/man2/select_tut.2 index 7a8f36895..ba2230625 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -99,7 +99,7 @@ you can test if a file descriptor is still present in a set with the .BR FD_ISSET () macro. .BR FD_ISSET () -returns non-zero if a specified file descriptor is present in a set +returns nonzero if a specified file descriptor is present in a set and zero if it is not. .BR FD_CLR () removes a file descriptor from a set. diff --git a/man2/semget.2 b/man2/semget.2 index 1667c9e21..01db84a7e 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -270,7 +270,7 @@ or a .B SETALL operation on the semaphore set. (Where multiple peers do not know who will be the first to -initialize the set, checking for a non-zero +initialize the set, checking for a nonzero .I sem_otime in the associated data structure retrieved by a .BR semctl (2) diff --git a/man2/sigaltstack.2 b/man2/sigaltstack.2 index 19ffa939a..b06bbc853 100644 --- a/man2/sigaltstack.2 +++ b/man2/sigaltstack.2 @@ -134,7 +134,7 @@ outside of the process's address space. .TP .B EINVAL \fIss\fP is not NULL and the \fIss_flags\fP field contains -a non-zero value other than +a nonzero value other than .BR SS_DISABLE . .TP .B ENOMEM diff --git a/man2/signalfd.2 b/man2/signalfd.2 index ea594ae18..be0209912 100644 --- a/man2/signalfd.2 +++ b/man2/signalfd.2 @@ -279,7 +279,7 @@ is not a valid signalfd file descriptor. is invalid; or, in Linux 2.6.26 or earlier, .I flags -is non-zero. +is nonzero. .TP .B EMFILE The per-process limit of open file descriptors has been reached. diff --git a/man2/sysctl.2 b/man2/sysctl.2 index 83ffc7435..7f2390e90 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -89,9 +89,9 @@ was not found. No search permission for one of the encountered "directories", or no read permission where .I oldval -was non-zero, or no write permission where +was nonzero, or no write permission where .I newval -was non-zero. +was nonzero. .SH "CONFORMING TO" This call is Linux-specific, and should not be used in programs intended to be portable. diff --git a/man2/timer_settime.2 b/man2/timer_settime.2 index c025c60d6..ee6f39f5d 100644 --- a/man2/timer_settime.2 +++ b/man2/timer_settime.2 @@ -84,7 +84,7 @@ that was specified when the timer was created by If .I new_value->it_value -specifies a non-zero value (i.e., either subfield is non-zero), then +specifies a nonzero value (i.e., either subfield is non-zero), then .BR timer_settime () arms (starts) the timer, setting it to initially expire at the given time. @@ -99,7 +99,7 @@ then the timer is disarmed. The .I new_value->it_interval field specifies the period of the timer, in seconds and nanoseconds. -If this field is non-zero, then each time that an armed timer expires, +If this field is nonzero, then each time that an armed timer expires, the timer is reloaded from the value specified in .IR new_value->it_interval . If diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index 2548ae899..4bc662477 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -135,14 +135,14 @@ specifies the initial expiration of the timer, in seconds and nanoseconds. Setting either field of .I new_value.it_value -to a non-zero value arms the timer. +to a nonzero value arms the timer. Setting both fields of .I new_value.it_value to zero disarms the timer. Setting one or both fields of .I new_value.it_interval -to non-zero values specifies the period, in seconds and nanoseconds, +to nonzero values specifies the period, in seconds and nanoseconds, for repeated timer expirations after the initial expiration. If both fields of .I new_value.it_interval @@ -310,7 +310,7 @@ nor is invalid; or, in Linux 2.6.26 or earlier, .I flags -is non-zero. +is nonzero. .TP .B EMFILE The per-process limit of open file descriptors has been reached. diff --git a/man2/wait.2 b/man2/wait.2 index dfd379f00..b2dab89e9 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -339,7 +339,7 @@ is unspecified. To distinguish this case from that where a child was in a waitable state, zero out the .I si_pid -field before the call and check for a non-zero value in this field +field before the call and check for a nonzero value in this field after the call returns. .SH "RETURN VALUE" .BR wait (): diff --git a/man3/CPU_SET.3 b/man3/CPU_SET.3 index b37d30d5f..cf186c87c 100644 --- a/man3/CPU_SET.3 +++ b/man3/CPU_SET.3 @@ -204,7 +204,7 @@ bytes. .BR CPU_ISSET () and .BR CPU_ISSET_S () -return non-zero if +return nonzero if .I cpu is in .IR set ; @@ -219,7 +219,7 @@ return the number of CPUs in .BR CPU_EQUAL () and .BR CPU_EQUAL_S () -return non-zero if the two CPU sets are equal; otherwise it returns 0. +return nonzero if the two CPU sets are equal; otherwise it returns 0. .BR CPU_ALLOC () returns a pointer on success, or NULL on failure. diff --git a/man3/argz_add.3 b/man3/argz_add.3 index 56a0d792e..5daad49b9 100644 --- a/man3/argz_add.3 +++ b/man3/argz_add.3 @@ -56,7 +56,7 @@ These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length. The intended interpretation of the character buffer is an array of strings, where the strings are separated by null bytes (\(aq\\0\(aq). -If the length is non-zero, the last byte of the buffer must be a null byte. +If the length is nonzero, the last byte of the buffer must be a null byte. .LP These functions are for handling argz vectors. The pair (NULL,0) is an argz vector, and, conversely, diff --git a/man3/assert_perror.3 b/man3/assert_perror.3 index d68c3ea0c..94ca31f28 100644 --- a/man3/assert_perror.3 +++ b/man3/assert_perror.3 @@ -48,7 +48,7 @@ by calling .BR abort (3) if .I errnum -is non-zero. +is nonzero. The message contains the filename, function name and line number of the macro call, and the output of .IR strerror(errnum) . diff --git a/man3/atexit.3 b/man3/atexit.3 index 4a9a2e5d2..115cd6c1f 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -67,7 +67,7 @@ all registrations are removed. The .BR atexit () function returns the value 0 if successful; otherwise -it returns a non-zero value. +it returns a nonzero value. .SH "CONFORMING TO" SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH NOTES diff --git a/man3/backtrace.3 b/man3/backtrace.3 index 27a766fc1..7992825d0 100644 --- a/man3/backtrace.3 +++ b/man3/backtrace.3 @@ -146,7 +146,7 @@ Note the following: Omission of the frame pointers (as implied by any of .BR gcc (1)'s -non-zero optimization levels) may cause these assumptions to be +nonzero optimization levels) may cause these assumptions to be violated. .IP * Inlined functions do not have stack frames. diff --git a/man3/bcmp.3 b/man3/bcmp.3 index 14daf48de..7db8c1b45 100644 --- a/man3/bcmp.3 +++ b/man3/bcmp.3 @@ -50,12 +50,12 @@ If they are equal, and in particular if is zero, .BR bcmp () returns 0. -Otherwise it returns a non-zero result. +Otherwise it returns a nonzero result. .SH "RETURN VALUE" The .BR bcmp () function returns 0 if the byte sequences are equal, -otherwise a non-zero result is returned. +otherwise a nonzero result is returned. .SH "CONFORMING TO" 4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use diff --git a/man3/clearenv.3 b/man3/clearenv.3 index 5a0178e69..b02f3ec49 100644 --- a/man3/clearenv.3 +++ b/man3/clearenv.3 @@ -48,10 +48,10 @@ to NULL. .SH "RETURN VALUE" The .BR clearenv () -function returns zero on success, and a non-zero +function returns zero on success, and a nonzero value on failure. .\" Most versions of Unix return -1 on error, or do not even have errors. -.\" Glibc info and the Watcom C library document "a non-zero value". +.\" Glibc info and the Watcom C library document "a nonzero value". .SH VERSIONS Not in libc4, libc5. In glibc since glibc 2.0. diff --git a/man3/ctime.3 b/man3/ctime.3 index f31f3d954..754468009 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -196,7 +196,7 @@ The function acts as if it called and sets the external variables \fItzname\fP with information about the current timezone, \fItimezone\fP with the difference between Coordinated Universal Time (UTC) and local standard time in -seconds, and \fIdaylight\fP to a non-zero value if daylight savings +seconds, and \fIdaylight\fP to a nonzero value if daylight savings time rules apply during some part of the year. The return value points to a statically allocated struct which might be overwritten by subsequent calls to any of the date and time functions. diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3 index c12c55b6f..8a1d0472e 100644 --- a/man3/dl_iterate_phdr.3 +++ b/man3/dl_iterate_phdr.3 @@ -49,7 +49,7 @@ application's shared objects and calls the function once for each object, until either all shared objects have been processed or .I callback -returns a non-zero value. +returns a nonzero value. Each call to .I callback diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 317e0d3ce..5518a0e97 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -284,7 +284,7 @@ symbols in it, then the dynamic library is unloaded. .LP The function .BR dlclose () -returns 0 on success, and non-zero on error. +returns 0 on success, and nonzero on error. .SS "The obsolete symbols _init() and _fini()" The linker recognizes special symbols .B _init @@ -370,7 +370,7 @@ and are set to NULL. .PP .BR dladdr () -returns 0 on error, and non-zero on success. +returns 0 on error, and nonzero on success. .PP The function .BR dlvsym (), diff --git a/man3/ecvt.3 b/man3/ecvt.3 index 3a43feaf0..e32521caf 100644 --- a/man3/ecvt.3 +++ b/man3/ecvt.3 @@ -55,7 +55,7 @@ string of \fIndigits\fP digits (where \fIndigits\fP is reduced to a system-specific limit determined by the precision of a .IR double ), and returns a pointer to the string. -The high-order digit is non-zero, unless +The high-order digit is nonzero, unless .I number is zero. The low order digit is rounded. @@ -65,7 +65,7 @@ is stored in \fI*decpt\fP. A negative value for \fI*decpt\fP means that the decimal point is to the left of the start of the string. If the sign of -\fInumber\fP is negative, \fI*sign\fP is set to a non-zero value, +\fInumber\fP is negative, \fI*sign\fP is set to a nonzero value, otherwise it is set to 0. If .I number diff --git a/man3/errno.3 b/man3/errno.3 index d1db2b92a..daa4aeceb 100644 --- a/man3/errno.3 +++ b/man3/errno.3 @@ -50,7 +50,7 @@ a function that succeeds allowed to change .IR errno . -Valid error numbers are all non-zero; \fIerrno\fP is never set to zero +Valid error numbers are all nonzero; \fIerrno\fP is never set to zero by any system call or library function. For some system calls and library functions (e.g., @@ -63,7 +63,7 @@ to zero before the call, and then, if the call returns a status that indicates that an error may have occurred, checking to see if .I errno -has a non-zero value. +has a nonzero value. \fIerrno\fP is defined by the ISO C standard to be a modifiable lvalue of type \fIint\fP, and must not be explicitly declared; \fIerrno\fP diff --git a/man3/error.3 b/man3/error.3 index d55752dab..fc4dfbea3 100644 --- a/man3/error.3 +++ b/man3/error.3 @@ -54,7 +54,7 @@ and then outputs to the program name, a colon and a space, the message specified by the .BR printf (3)-style format string \fIformat\fP, and, if \fIerrnum\fP is -non-zero, a second colon and a space followed by the string given by +nonzero, a second colon and a space followed by the string given by \fBperror(\fIerrnum\fB)\fP. Any arguments required for .I format @@ -74,7 +74,7 @@ initially has the same value as The value of this variable can be modified to change the output of .BR error (). -If \fIstatus\fP has a non-zero value, then +If \fIstatus\fP has a nonzero value, then .BR error () calls .BR exit (3) @@ -100,7 +100,7 @@ The preprocessor values \fB__LINE__\fP and but other values can also be used. For example, these arguments could refer to a location in an input file. -If the global variable \fIerror_one_per_line\fP is set non-zero, +If the global variable \fIerror_one_per_line\fP is set nonzero, a sequence of .BR error_at_line () calls with the diff --git a/man3/ether_aton.3 b/man3/ether_aton.3 index 7b7cd8f8c..97116203d 100644 --- a/man3/ether_aton.3 +++ b/man3/ether_aton.3 @@ -77,14 +77,14 @@ The function maps an Ethernet address to the corresponding hostname in .I /etc/ethers -and returns non-zero if it cannot be found. +and returns nonzero if it cannot be found. .PP The .BR ether_hostton () function maps a hostname to the corresponding Ethernet address in .I /etc/ethers -and returns non-zero if it cannot be found. +and returns nonzero if it cannot be found. .PP The .BR ether_line () @@ -92,7 +92,7 @@ function parses a line in .I /etc/ethers format (ethernet address followed by whitespace followed by hostname; \(aq#\(aq introduces a comment) and returns an address -and hostname pair, or non-zero if it cannot be parsed. +and hostname pair, or nonzero if it cannot be parsed. The buffer pointed to by .I hostname must be sufficiently long, for example, have the same length as diff --git a/man3/exit.3 b/man3/exit.3 index dad32f8a3..6a9ba20e1 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -100,7 +100,7 @@ The use of and .B EXIT_FAILURE is slightly more portable -(to non-Unix environments) than the use of 0 and some non-zero value +(to non-Unix environments) than the use of 0 and some nonzero value like 1 or \-1. In particular, VMS uses a different convention. .LP diff --git a/man3/fenv.3 b/man3/fenv.3 index d35e32748..2e95f6e44 100644 --- a/man3/fenv.3 +++ b/man3/fenv.3 @@ -255,7 +255,7 @@ As before, the object .I *envp must be known to be valid. .SH "RETURN VALUE" -These functions return zero on success and non-zero if an error occurred. +These functions return zero on success and nonzero if an error occurred. .\" Earlier seven of these functions were listed as returning void. .\" This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E)) .\" of the C99 Standard. diff --git a/man3/ferror.3 b/man3/ferror.3 index 7386e8586..e2b841241 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -70,7 +70,7 @@ The function .BR feof () tests the end-of-file indicator for the stream pointed to by .IR stream , -returning non-zero if it is set. +returning nonzero if it is set. The end-of-file indicator can only be cleared by the function .BR clearerr (). @@ -79,7 +79,7 @@ The function .BR ferror () tests the error indicator for the stream pointed to by .IR stream , -returning non-zero if it is set. +returning nonzero if it is set. The error indicator can only be reset by the .BR clearerr () function. diff --git a/man3/finite.3 b/man3/finite.3 index 677124f84..91382af13 100644 --- a/man3/finite.3 +++ b/man3/finite.3 @@ -77,12 +77,12 @@ _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 .SH DESCRIPTION The .BR finite () -functions return a non-zero value if \fIx\fP is neither infinite +functions return a nonzero value if \fIx\fP is neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise. The .BR isnan () -functions return a non-zero value if \fIx\fP is a NaN value, +functions return a nonzero value if \fIx\fP is a NaN value, and 0 otherwise. The diff --git a/man3/flockfile.3 b/man3/flockfile.3 index 5d86faae9..f27b4e4af 100644 --- a/man3/flockfile.3 +++ b/man3/flockfile.3 @@ -49,7 +49,7 @@ The stdio functions are thread-safe. This is achieved by assigning to each .I FILE -object a lockcount and (if the lockcount is non-zero) +object a lockcount and (if the lockcount is nonzero) an owning thread. For each library call, these functions wait until the .I FILE @@ -111,7 +111,7 @@ the lockcount otherwise. The .BR ftrylockfile () function returns zero for success -(the lock was obtained), and non-zero for failure. +(the lock was obtained), and nonzero for failure. .SH ERRORS None. .SH "CONFORMING TO" diff --git a/man3/fnmatch.3 b/man3/fnmatch.3 index ca641cd3e..3f6b8b686 100644 --- a/man3/fnmatch.3 +++ b/man3/fnmatch.3 @@ -89,7 +89,7 @@ Zero if matches .IR pattern , .B FNM_NOMATCH -if there is no match or another non-zero value if there is an error. +if there is no match or another nonzero value if there is an error. .SH "CONFORMING TO" POSIX.2. The diff --git a/man3/fpathconf.3 b/man3/fpathconf.3 index 12cbe6fc0..93aa7d488 100644 --- a/man3/fpathconf.3 +++ b/man3/fpathconf.3 @@ -115,7 +115,7 @@ The corresponding macro is .BR _POSIX_PIPE_BUF . .TP .B _PC_CHOWN_RESTRICTED -returns non-zero if the +returns nonzero if the .BR chown (2) call may not be used on this file. If @@ -128,14 +128,14 @@ The corresponding macro is .BR _POSIX_CHOWN_RESTRICTED . .TP .B _PC_NO_TRUNC -returns non-zero if accessing filenames longer than +returns nonzero if accessing filenames longer than .B _POSIX_NAME_MAX generates an error. The corresponding macro is .BR _POSIX_NO_TRUNC . .TP .B _PC_VDISABLE -returns non-zero if special character processing can be disabled, where +returns nonzero if special character processing can be disabled, where .I fd or .I path diff --git a/man3/fpclassify.3 b/man3/fpclassify.3 index 9c4989e05..bee8991a5 100644 --- a/man3/fpclassify.3 +++ b/man3/fpclassify.3 @@ -80,16 +80,16 @@ normal floating-point number. The other macros provide a short answer to some standard questions. .TP 14 .BI isfinite( x ) -returns a non-zero value if +returns a nonzero value if .br (fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE) .TP .BI isnormal( x ) -returns a non-zero value if +returns a nonzero value if (fpclassify(x) == FP_NORMAL) .TP .BI isnan( x ) -returns a non-zero value if +returns a nonzero value if (fpclassify(x) == FP_NAN) .TP .BI isinf( x ) @@ -103,12 +103,12 @@ C99, POSIX.1. For .BR isinf (), -the standards merely say that the return value is non-zero +the standards merely say that the return value is nonzero if and only if the argument has an infinite value. .SH NOTES In glibc 2.01 and earlier, .BR isinf () -returns a non-zero value (actually: 1) if +returns a nonzero value (actually: 1) if .I x is positive infinity or negative infinity. (This is all that C99 requires.) diff --git a/man3/ftime.3 b/man3/ftime.3 index 4df11bde3..0c6b28227 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -60,7 +60,7 @@ The \fItimezone\fP field is the local timezone measured in minutes of time west of Greenwich (with a negative value indicating minutes east of Greenwich). The \fIdstflag\fP field -is a flag that, if non-zero, indicates that Daylight Saving time +is a flag that, if nonzero, indicates that Daylight Saving time applies locally during the appropriate part of the year. .LP POSIX.1-2001 says that the contents of the \fItimezone\fP and \fIdstflag\fP diff --git a/man3/ftok.3 b/man3/ftok.3 index 34e1fc94b..b8b43f3a4 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -42,7 +42,7 @@ function uses the identity of the file named by the given (which must refer to an existing, accessible file) and the least significant 8 bits of .I proj_id -(which must be non-zero) to generate a +(which must be nonzero) to generate a .I key_t type System V IPC key, suitable for use with .BR msgget (2), diff --git a/man3/ftw.3 b/man3/ftw.3 index 31c850923..731020652 100644 --- a/man3/ftw.3 +++ b/man3/ftw.3 @@ -121,7 +121,7 @@ that it is undefined whether \fBFTW_NS\fP or \fBFTW_SL\fP (see below) is passed in .IR typeflag . .PP -To stop the tree walk, \fIfn\fP() returns a non-zero value; this +To stop the tree walk, \fIfn\fP() returns a nonzero value; this value will become the return value of .BR ftw (). As long as \fIfn\fP() returns 0, @@ -135,7 +135,7 @@ failure), in which case it will return \-1. Because .BR ftw () uses dynamic data structures, the only safe way to -exit out of a tree walk is to return a non-zero value from \fIfn\fP(). +exit out of a tree walk is to return a nonzero value from \fIfn\fP(). To allow a signal to terminate the walk without causing a memory leak, have the handler set a global flag that is checked by \fIfn\fP(). \fIDon't\fP use @@ -290,7 +290,7 @@ which has depth 0). .SH "RETURN VALUE" These functions return 0 on success, and \-1 if an error occurs. -If \fIfn\fP() returns non-zero, +If \fIfn\fP() returns nonzero, then the tree walk is terminated and the value returned by \fIfn\fP() is returned as the result of .BR ftw () @@ -300,7 +300,7 @@ or If .BR nftw () is called with the \fBFTW_ACTIONRETVAL\fP flag, -then the only non-zero value that should be used by \fIfn\fP() +then the only nonzero value that should be used by \fIfn\fP() to terminate the tree walk is \fBFTW_STOP\fP, and that value is returned as the result of .BR nftw (). diff --git a/man3/fwide.3 b/man3/fwide.3 index d65cae64b..67c468e44 100644 --- a/man3/fwide.3 +++ b/man3/fwide.3 @@ -48,7 +48,7 @@ operation). Once a stream has an orientation, it cannot be changed and persists until the stream is closed. .PP -When \fImode\fP is non-zero, the +When \fImode\fP is nonzero, the .BR fwide () function first attempts to set \fIstream\fP's orientation (to wide-character oriented diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index 7e25f8dfc..ea2a44739 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -479,7 +479,7 @@ flags respectively to be used in the IDNA handling. .\" #define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ .\" #endif .BR getaddrinfo () -returns 0 if it succeeds, or one of the following non-zero error codes: +returns 0 if it succeeds, or one of the following nonzero error codes: .TP .B EAI_ADDRFAMILY .\" Not in SUSv3 diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 7ebb9ef92..30344aadc 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -396,7 +396,7 @@ In case of an error or if no entry is found .I result will be NULL. -The functions return 0 on success and a non-zero error number on failure. +The functions return 0 on success and a nonzero error number on failure. In addition to the errors returned by the non-reentrant versions of these functions, if .I buf diff --git a/man3/getlogin.3 b/man3/getlogin.3 index f8e508c9f..eb060d32e 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -97,7 +97,7 @@ precisely because the user can set \fBLOGNAME\fP arbitrarily. returns a pointer to the username when successful, and NULL on failure. .BR getlogin_r () -returns 0 when successful, and non-zero on failure. +returns 0 when successful, and nonzero on failure. .SH ERRORS POSIX specifies .TP diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index be74cebca..369b98271 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -148,7 +148,7 @@ flags respectively to be used in the IDNA handling. On success 0 is returned, and node and service names, if requested, are filled with null-terminated strings, possibly truncated to fit the specified buffer lengths. -On error one of the following non-zero error codes is returned: +On error one of the following nonzero error codes is returned: .TP .B EAI_AGAIN The name could not be resolved at this time. diff --git a/man3/getnetent.3 b/man3/getnetent.3 index 72b3efa02..e694a2072 100644 --- a/man3/getnetent.3 +++ b/man3/getnetent.3 @@ -71,7 +71,7 @@ The .BR setnetent () function opens a connection to the database, and sets the next entry to the first entry. -If \fIstayopen\fP is non-zero, +If \fIstayopen\fP is nonzero, then the connection to the database will not be closed between calls to one of the .BR getnet* () diff --git a/man3/getopt.3 b/man3/getopt.3 index 503f6890a..af34650ca 100644 --- a/man3/getopt.3 +++ b/man3/getopt.3 @@ -188,7 +188,7 @@ returns \(aq:\(aq instead of \(aq?\(aq to indicate a missing option argument. If an error was detected, and the first character of \fIoptstring\fP is not a colon, and -the external variable \fIopterr\fP is non-zero (which is the default), +the external variable \fIopterr\fP is nonzero (which is the default), .BR getopt () prints an error message. .SS getopt_long() and getopt_long_only() diff --git a/man3/getprotoent.3 b/man3/getprotoent.3 index 05c1d7c64..e18c430d0 100644 --- a/man3/getprotoent.3 +++ b/man3/getprotoent.3 @@ -70,7 +70,7 @@ The .BR setprotoent () function opens a connection to the database, and sets the next entry to the first entry. -If \fIstayopen\fP is non-zero, +If \fIstayopen\fP is nonzero, then the connection to the database will not be closed between calls to one of the .BR getproto* () diff --git a/man3/getrpcent.3 b/man3/getrpcent.3 index 8135c1631..3edbd20c3 100644 --- a/man3/getrpcent.3 +++ b/man3/getrpcent.3 @@ -59,7 +59,7 @@ A connection is opened to the database if necessary. .BR setrpcent () function opens a connection to the database, and sets the next entry to the first entry. -If \fIstayopen\fP is non-zero, +If \fIstayopen\fP is nonzero, then the connection to the database will not be closed between calls to one of the .BR getrpc* () diff --git a/man3/getservent.3 b/man3/getservent.3 index 27df7afbc..eb9940937 100644 --- a/man3/getservent.3 +++ b/man3/getservent.3 @@ -77,7 +77,7 @@ The .BR setservent () function opens a connection to the database, and sets the next entry to the first entry. -If \fIstayopen\fP is non-zero, +If \fIstayopen\fP is nonzero, then the connection to the database will not be closed between calls to one of the .BR getserv* () diff --git a/man3/glob.3 b/man3/glob.3 index 089dce6f2..a4bae1b23 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -226,7 +226,7 @@ or .BR stat (2). If .I errfunc -returns non-zero, or if +returns nonzero, or if .B GLOB_ERR is set, .BR glob () diff --git a/man3/hsearch.3 b/man3/hsearch.3 index 21adace5b..b392b55f0 100644 --- a/man3/hsearch.3 +++ b/man3/hsearch.3 @@ -175,7 +175,7 @@ rather than as the function result. .BR hcreate () and .BR hcreate_r () -return non-zero on success. +return nonzero on success. They return 0 on error. On success, @@ -187,7 +187,7 @@ if \fIaction\fP is \fBENTER\fP and the hash table is full, or \fIaction\fP is \fBFIND\fP and \fIitem\fP cannot be found in the hash table. .BR hsearch_r () -returns non-zero on success, and 0 on error. +returns nonzero on success, and 0 on error. .SH ERRORS .LP .BR hcreate () diff --git a/man3/inet.3 b/man3/inet.3 index 5af7b7142..c4b32002f 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -78,7 +78,7 @@ converts the Internet host address \fIcp\fP from the IPv4 numbers-and-dots notation into binary form (in network byte order) and stores it in the structure that \fIinp\fP points to. .BR inet_aton () -returns non-zero if the address is valid, zero if not. +returns nonzero if the address is valid, zero if not. The address supplied in .I cp can have one of the following forms: diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 4adb9f5ae..a32228818 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -150,7 +150,7 @@ checks for a hexadecimal digits, that is, one of .br .BR "0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F" . .SH "RETURN VALUE" -The values returned are non-zero if the character +The values returned are nonzero if the character .I c falls into the tested class, and a zero value if not. diff --git a/man3/iswalnum.3 b/man3/iswalnum.3 index a6771fb01..9b515258a 100644 --- a/man3/iswalnum.3 +++ b/man3/iswalnum.3 @@ -53,7 +53,7 @@ to \(aqZ\(aq, \(aqa\(aq to \(aqz\(aq and the digits \(aq0\(aq to \(aq9\(aq. .SH "RETURN VALUE" The .BR iswalnum () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "alnum". Otherwise it returns zero. diff --git a/man3/iswalpha.3 b/man3/iswalpha.3 index 688a2794b..fc7f543a0 100644 --- a/man3/iswalpha.3 +++ b/man3/iswalpha.3 @@ -57,7 +57,7 @@ letters \(aqA\(aq to \(aqZ\(aq and \(aqa\(aq to \(aqz\(aq. .SH "RETURN VALUE" The .BR iswalpha () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "alpha". Otherwise it returns zero. diff --git a/man3/iswblank.3 b/man3/iswblank.3 index 40e228413..86499d1b4 100644 --- a/man3/iswblank.3 +++ b/man3/iswblank.3 @@ -55,7 +55,7 @@ and the control character \(aq\\t\(aq. .SH "RETURN VALUE" The .BR iswblank () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "blank". Otherwise it returns zero. diff --git a/man3/iswcntrl.3 b/man3/iswcntrl.3 index be280c7ac..c7b6a4043 100644 --- a/man3/iswcntrl.3 +++ b/man3/iswcntrl.3 @@ -39,7 +39,7 @@ but not vice versa. .SH "RETURN VALUE" The .BR iswcntrl () -function returns non-zero if \fIwc\fP is a +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "cntrl". Otherwise it returns zero. .SH "CONFORMING TO" diff --git a/man3/iswctype.3 b/man3/iswctype.3 index b49c52a0a..fa8747bec 100644 --- a/man3/iswctype.3 +++ b/man3/iswctype.3 @@ -25,7 +25,7 @@ If \fIwc\fP is a wide character having the character property designated by \fIdesc\fP (or in other words: belongs to the character class designated by \fIdesc\fP), the .BR iswctype () -function returns non-zero. +function returns nonzero. Otherwise it returns zero. If \fIwc\fP is @@ -39,7 +39,7 @@ function. .SH "RETURN VALUE" The .BR iswctype () -function returns non-zero if +function returns nonzero if the \fIwc\fP has the designated property. Otherwise it returns 0. diff --git a/man3/iswdigit.3 b/man3/iswdigit.3 index e723e6bb2..72ff12740 100644 --- a/man3/iswdigit.3 +++ b/man3/iswdigit.3 @@ -56,7 +56,7 @@ contains exactly the digits \(aq0\(aq to \(aq9\(aq. .SH "RETURN VALUE" The .BR iswdigit () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "digit". Otherwise it returns zero. diff --git a/man3/iswgraph.3 b/man3/iswgraph.3 index 2d1344722..5cb088b83 100644 --- a/man3/iswgraph.3 +++ b/man3/iswgraph.3 @@ -49,7 +49,7 @@ the wide-character classes "alnum" and "punct". .SH "RETURN VALUE" The .BR iswgraph () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "graph". Otherwise it returns zero. diff --git a/man3/iswlower.3 b/man3/iswlower.3 index 66efa81d6..e6fa00be2 100644 --- a/man3/iswlower.3 +++ b/man3/iswlower.3 @@ -60,7 +60,7 @@ at least the letters \(aqa\(aq to \(aqz\(aq. .SH "RETURN VALUE" The .BR iswlower () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "lower". Otherwise it returns zero. diff --git a/man3/iswprint.3 b/man3/iswprint.3 index ab5815775..64800ad0b 100644 --- a/man3/iswprint.3 +++ b/man3/iswprint.3 @@ -36,7 +36,7 @@ The wide-character class "print" contains the wide-character class "graph". .SH "RETURN VALUE" The .BR iswprint () -function returns non-zero if \fIwc\fP is a +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "print". Otherwise it returns zero. .SH "CONFORMING TO" diff --git a/man3/iswpunct.3 b/man3/iswpunct.3 index 238252af8..58c9d2acf 100644 --- a/man3/iswpunct.3 +++ b/man3/iswpunct.3 @@ -47,7 +47,7 @@ the wide-character class .SH "RETURN VALUE" The .BR iswpunct () -function returns non-zero +function returns nonzero if \fIwc\fP is a wide-character belonging to the wide-character class "punct". Otherwise it returns zero. diff --git a/man3/iswspace.3 b/man3/iswspace.3 index 4fae7b3aa..e13a2f286 100644 --- a/man3/iswspace.3 +++ b/man3/iswspace.3 @@ -44,7 +44,7 @@ characters \(aq\\f\(aq, \(aq\\n\(aq, \(aq\\r\(aq, \(aq\\t\(aq, \(aq\\v\(aq. .SH "RETURN VALUE" The .BR iswspace () -function returns non-zero if \fIwc\fP is a wide character +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "space". Otherwise it returns zero. .SH "CONFORMING TO" diff --git a/man3/iswupper.3 b/man3/iswupper.3 index d8dbfb4f1..9dc49c52e 100644 --- a/man3/iswupper.3 +++ b/man3/iswupper.3 @@ -54,7 +54,7 @@ letters \(aqA\(aq to \(aqZ\(aq. .SH "RETURN VALUE" The .BR iswupper () -function returns non-zero if \fIwc\fP is a wide character +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "upper". Otherwise it returns zero. .SH "CONFORMING TO" diff --git a/man3/iswxdigit.3 b/man3/iswxdigit.3 index 5785d0e0b..3e4fdc80b 100644 --- a/man3/iswxdigit.3 +++ b/man3/iswxdigit.3 @@ -49,7 +49,7 @@ and the digits \(aq0\(aq to \(aq9\(aq. .SH "RETURN VALUE" The .BR iswxdigit () -function returns non-zero if \fIwc\fP is a wide character +function returns nonzero if \fIwc\fP is a wide character belonging to the wide-character class "xdigit". Otherwise it returns zero. .SH "CONFORMING TO" diff --git a/man3/longjmp.3 b/man3/longjmp.3 index 4462c39ed..5b57ae10b 100644 --- a/man3/longjmp.3 +++ b/man3/longjmp.3 @@ -73,7 +73,7 @@ its \fIenv\fP argument. If, and only if, the .BR sigsetjmp (3) call that set this -\fIenv\fP used a non-zero \fIsavesigs\fP flag, +\fIenv\fP used a nonzero \fIsavesigs\fP flag, .BR siglongjmp () also restores the signal mask that was saved by .BR sigsetjmp (3). diff --git a/man3/lsearch.3 b/man3/lsearch.3 index 41551d5cc..9f0476571 100644 --- a/man3/lsearch.3 +++ b/man3/lsearch.3 @@ -46,7 +46,7 @@ The comparison function referenced by \fIcompar\fP is expected to have two arguments which point to the \fIkey\fP object and to an array member, in that order, and which returns zero if the \fIkey\fP object matches the array member, and -non-zero otherwise. +nonzero otherwise. .PP If .BR lsearch () diff --git a/man3/malloc.3 b/man3/malloc.3 index 8573bf88c..8f86849c5 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -231,7 +231,7 @@ if set to 2, is called immediately; if set to 3, a diagnostic message is printed on \fIstderr\fP and the program is aborted. -Using a non-zero +Using a nonzero .B MALLOC_CHECK_ value can be useful because otherwise a crash may happen much later, and the true cause for the problem diff --git a/man3/matherr.3 b/man3/matherr.3 index bd48b1f07..5b94f167e 100644 --- a/man3/matherr.3 +++ b/man3/matherr.3 @@ -167,7 +167,7 @@ as described above, and may print an error message on standard error If the .BR matherr () -function returns a non-zero value, then the system does not set +function returns a nonzero value, then the system does not set .IR errno , and doesn't print an error message. .SS Math functions that employ matherr() @@ -321,7 +321,7 @@ The message "log: SING error" was printed by the C library. In the following run, .BR matherr () -is called, and returns a non-zero value: +is called, and returns a nonzero value: .in +4n .nf @@ -340,7 +340,7 @@ was not set. In the following run, .BR matherr () is called, changes the return value of the math function, -and returns a non-zero value: +and returns a nonzero value: .in +4n .nf diff --git a/man3/mblen.3 b/man3/mblen.3 index 14ac1dce4..1e65e35ba 100644 --- a/man3/mblen.3 +++ b/man3/mblen.3 @@ -53,7 +53,7 @@ function .\" The Dinkumware doc and the Single Unix specification say this, but .\" glibc doesn't implement this. resets the shift state, only known to this function, to the initial state, and -returns non-zero if the encoding has nontrivial shift state, or zero if the +returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "RETURN VALUE" The diff --git a/man3/mbsinit.3 b/man3/mbsinit.3 index 1f1426d42..7533cf6f8 100644 --- a/man3/mbsinit.3 +++ b/man3/mbsinit.3 @@ -68,7 +68,7 @@ tests whether \fI*ps\fP corresponds to an initial state. .SH "RETURN VALUE" .BR mbsinit () -returns non-zero if \fI*ps\fP is an initial state, or if +returns nonzero if \fI*ps\fP is an initial state, or if \fIps\fP is a null pointer. Otherwise it returns 0. .SH "CONFORMING TO" diff --git a/man3/mbtowc.3 b/man3/mbtowc.3 index 24ae99e9d..c5022261a 100644 --- a/man3/mbtowc.3 +++ b/man3/mbtowc.3 @@ -59,7 +59,7 @@ function .\" glibc doesn't implement this. resets the shift state, only known to this function, to the initial state, and -returns non-zero if the encoding has nontrivial shift state, or zero if the +returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "RETURN VALUE" If \fIs\fP is not NULL, the @@ -71,7 +71,7 @@ or \-1 upon failure. If \fIs\fP is NULL, the .BR mbtowc () function -returns non-zero if the encoding +returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "CONFORMING TO" C99. diff --git a/man3/on_exit.3 b/man3/on_exit.3 index 1692851b5..b7016e780 100644 --- a/man3/on_exit.3 +++ b/man3/on_exit.3 @@ -68,7 +68,7 @@ functions, all registrations are removed. The .BR on_exit () function returns the value 0 if successful; otherwise -it returns a non-zero value. +it returns a nonzero value. .SH "CONFORMING TO" This function comes from SunOS 4, but is also present in libc4, libc5 and glibc. diff --git a/man3/printf.3 b/man3/printf.3 index 6728e4abb..361de795a 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -261,7 +261,7 @@ For .B x and .B X -conversions, a non-zero result has the string "0x" (or "0X" for +conversions, a nonzero result has the string "0x" (or "0X" for .B X conversions) prepended to it. For @@ -382,7 +382,7 @@ For example, since glibc 2.2.3 this will give Arabic-Indic digits in the Persian ("fa_IR") locale. .\" outdigits keyword in locale file .SS "The field width" -An optional decimal digit string (with non-zero first digit) specifying +An optional decimal digit string (with nonzero first digit) specifying a minimum field width. If the converted value has fewer characters than the field width, it will be padded with spaces on the left @@ -700,7 +700,7 @@ if an exact representation in base 2 exists and otherwise is sufficiently large to distinguish values of type .IR double . The digit before the decimal point is unspecified for non-normalized -numbers, and non-zero but otherwise unspecified for normalized numbers. +numbers, and nonzero but otherwise unspecified for normalized numbers. .TP .B c If no diff --git a/man3/pthread_attr_init.3 b/man3/pthread_attr_init.3 index 0843bcf8e..6fd720411 100644 --- a/man3/pthread_attr_init.3 +++ b/man3/pthread_attr_init.3 @@ -64,7 +64,7 @@ Any other use of a destroyed thread attributes object has undefined results. .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS POSIX.1-2001 documents an .B ENOMEM diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index e62008e6e..483f08ce8 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -72,7 +72,7 @@ that can be used to manipulate and inspect CPU sets, see .BR CPU_SET (3). .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .TP .BR EINVAL diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3 index 39cc5c029..cf130da65 100644 --- a/man3/pthread_attr_setdetachstate.3 +++ b/man3/pthread_attr_setdetachstate.3 @@ -73,7 +73,7 @@ in the buffer pointed to by .IR detachstate . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setdetachstate (3) can fail with the following error: diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3 index c0381b4cb..6f69fbbd9 100644 --- a/man3/pthread_attr_setguardsize.3 +++ b/man3/pthread_attr_setguardsize.3 @@ -86,7 +86,7 @@ in the buffer pointed to by .IR guardsize . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS POSIX.1-2001 documents an .B EINVAL diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3 index c220de74c..b858f72ac 100644 --- a/man3/pthread_attr_setinheritsched.3 +++ b/man3/pthread_attr_setinheritsched.3 @@ -80,7 +80,7 @@ in the buffer pointed to by .IR inheritsched . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setinheritsched () can fail with the following error: diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3 index 086ff64a9..df36e84d3 100644 --- a/man3/pthread_attr_setschedparam.3 +++ b/man3/pthread_attr_setschedparam.3 @@ -70,7 +70,7 @@ in each scheduling policy, see .BR sched_setscheduler (2). .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS POSIX.1 documents .B EINVAL diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3 index 9a0a83091..478d576fa 100644 --- a/man3/pthread_attr_setschedpolicy.3 +++ b/man3/pthread_attr_setschedpolicy.3 @@ -68,7 +68,7 @@ in the buffer pointed to by .IR policy . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setschedpolicy () can fail with the following error: diff --git a/man3/pthread_attr_setscope.3 b/man3/pthread_attr_setscope.3 index d362e620f..74d38656c 100644 --- a/man3/pthread_attr_setscope.3 +++ b/man3/pthread_attr_setscope.3 @@ -87,7 +87,7 @@ in the buffer pointed to by .IR scope . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setscope () can fail with the following errors: diff --git a/man3/pthread_attr_setstack.3 b/man3/pthread_attr_setstack.3 index 458ddb93d..38c699b82 100644 --- a/man3/pthread_attr_setstack.3 +++ b/man3/pthread_attr_setstack.3 @@ -80,7 +80,7 @@ and respectively. .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setstack () can fail with the following error: diff --git a/man3/pthread_attr_setstackaddr.3 b/man3/pthread_attr_setstackaddr.3 index a27481d0a..a11b48a89 100644 --- a/man3/pthread_attr_setstackaddr.3 +++ b/man3/pthread_attr_setstackaddr.3 @@ -70,7 +70,7 @@ in the buffer pointed to by .IR stackaddr . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS No errors are defined (but applications should nevertheless diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3 index 86ca67771..deccf0c8d 100644 --- a/man3/pthread_attr_setstacksize.3 +++ b/man3/pthread_attr_setstacksize.3 @@ -57,7 +57,7 @@ in the buffer pointed to by .IR stacksize . .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .BR pthread_attr_setstacksize () can fail with the following error: diff --git a/man3/pthread_cancel.3 b/man3/pthread_cancel.3 index 340d2edf9..b1dd20878 100644 --- a/man3/pthread_cancel.3 +++ b/man3/pthread_cancel.3 @@ -107,7 +107,7 @@ has completed.) On success, .BR pthread_cancel () returns 0; -on error, it returns a non-zero error number. +on error, it returns a nonzero error number. .SH ERRORS .TP .B ESRCH diff --git a/man3/pthread_cleanup_push.3 b/man3/pthread_cleanup_push.3 index 97739ec9b..57ebe2e89 100644 --- a/man3/pthread_cleanup_push.3 +++ b/man3/pthread_cleanup_push.3 @@ -59,7 +59,7 @@ The function removes the routine at the top of the stack of clean-up handlers, and optionally executes it if .I execute -is non-zero. +is nonzero. A cancellation clean-up handler is popped from the stack and executed in the following circumstances: @@ -78,7 +78,7 @@ from the thread start function.) .IP 3. When a thread calls .BR pthread_cleanup_pop () -with a non-zero +with a nonzero .I execute argument, the top-most clean-up handler is popped and executed. .PP @@ -203,7 +203,7 @@ was not reset. In the next run, the main program sets a global variable that causes the other thread to terminate normally, -and supplies a non-zero value for +and supplies a nonzero value for .IR cleanup_pop_arg : .in +4n @@ -220,7 +220,7 @@ Thread terminated normally; cnt = 0 In the above, we see that although the thread was not canceled, the clean-up handler was executed, because the argument given to .BR pthread_cleanup_pop () -was non-zero. +was nonzero. .SS Program source \& .nf diff --git a/man3/pthread_equal.3 b/man3/pthread_equal.3 index 1172d3532..b8efa20db 100644 --- a/man3/pthread_equal.3 +++ b/man3/pthread_equal.3 @@ -38,7 +38,7 @@ function compares two thread identifiers. .SH RETURN VALUE If the two thread IDs are equal, .BR pthread_equal () -returns a non-zero value; otherwise, it returns 0. +returns a nonzero value; otherwise, it returns 0. .SH ERRORS This function always succeeds. .SH CONFORMING TO diff --git a/man3/pthread_getattr_np.3 b/man3/pthread_getattr_np.3 index fb3116af3..1bb347d58 100644 --- a/man3/pthread_getattr_np.3 +++ b/man3/pthread_getattr_np.3 @@ -69,7 +69,7 @@ is no longer required, it should be destroyed using .BR pthread_attr_destroy (3). .SH RETURN VALUE On success, this function returns 0; -on error, it returns a non-zero error number. +on error, it returns a nonzero error number. .SH ERRORS .TP .B ENOMEM diff --git a/man3/pthread_getcpuclockid.3 b/man3/pthread_getcpuclockid.3 index e6b4dd8c4..229734a4a 100644 --- a/man3/pthread_getcpuclockid.3 +++ b/man3/pthread_getcpuclockid.3 @@ -42,7 +42,7 @@ function returns the clock ID for the CPU time clock of the thread .\" where CLOCK_IDFIELD_SIZE is 3. .SH RETURN VALUE On success, this function returns 0; -on error, it returns a non-zero error number. +on error, it returns a nonzero error number. .SH ERRORS .TP .B ENOENT diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3 index 5e4b78f25..009ab3e36 100644 --- a/man3/pthread_setaffinity_np.3 +++ b/man3/pthread_setaffinity_np.3 @@ -73,7 +73,7 @@ Typically, this argument would be specified as for dynamically allocating a CPU set.) .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS .TP .B EFAULT diff --git a/man3/pthread_setcancelstate.3 b/man3/pthread_setcancelstate.3 index 8c3ad0a39..55b89f928 100644 --- a/man3/pthread_setcancelstate.3 +++ b/man3/pthread_setcancelstate.3 @@ -88,7 +88,7 @@ is atomic with respect to other threads in the process calling the same function. .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. .SH ERRORS The .BR pthread_setcancelstate () diff --git a/man3/pthread_setconcurrency.3 b/man3/pthread_setconcurrency.3 index ed6f86498..cd3363319 100644 --- a/man3/pthread_setconcurrency.3 +++ b/man3/pthread_setconcurrency.3 @@ -54,7 +54,7 @@ returns the current value of the concurrency level for this process. On success, .BR pthread_setconcurrency () returns 0; -on error, it returns a non-zero error number. +on error, it returns a nonzero error number. .BR pthread_getconcurrency () always succeeds, returning the concurrency level set by a previous call to diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3 index afae39863..aba23ded8 100644 --- a/man3/pthread_setschedparam.3 +++ b/man3/pthread_setschedparam.3 @@ -100,7 +100,7 @@ and .\" may want to add something on the topic to this page. .SH RETURN VALUE On success, these functions return 0; -on error, they return a non-zero error number. +on error, they return a nonzero error number. If .BR pthread_setschedparam () fails, the scheduling policy and parameters of diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3 index c5455fa1f..4a96acf17 100644 --- a/man3/pthread_setschedprio.3 +++ b/man3/pthread_setschedprio.3 @@ -49,7 +49,7 @@ changes both the scheduling policy and priority of a thread.) .\" nptl/pthread_setschedparam.c has a similar case. .SH RETURN VALUE On success, this function returns 0; -on error, it returns a non-zero error number. +on error, it returns a nonzero error number. If .BR pthread_setschedprio () fails, the scheduling priority of diff --git a/man3/ptsname.3 b/man3/ptsname.3 index 672e27427..6f08374e3 100644 --- a/man3/ptsname.3 +++ b/man3/ptsname.3 @@ -49,7 +49,7 @@ On failure, a NULL pointer is returned. On success, .BR ptsname_r () returns 0. -On failure, a non-zero value is returned +On failure, a nonzero value is returned and .I errno is set to indicate the error. diff --git a/man3/putenv.3 b/man3/putenv.3 index 149ad932e..a35c7ab0a 100644 --- a/man3/putenv.3 +++ b/man3/putenv.3 @@ -66,7 +66,7 @@ so altering the string changes the environment. The .BR putenv () function returns zero on success, -or non-zero if an error occurs. +or nonzero if an error occurs. .SH ERRORS .TP .B ENOMEM diff --git a/man3/putgrent.3 b/man3/putgrent.3 index 522716bbc..c137b7c3e 100644 --- a/man3/putgrent.3 +++ b/man3/putgrent.3 @@ -33,7 +33,7 @@ struct group { .fi .in .SH "RETURN VALUE" -The function returns zero on success, and a non-zero value on error. +The function returns zero on success, and a nonzero value on error. .SH "CONFORMING TO" This function is a GNU extension. .SH "SEE ALSO" diff --git a/man3/raise.3 b/man3/raise.3 index 8814abf4a..6fcd41b0e 100644 --- a/man3/raise.3 +++ b/man3/raise.3 @@ -58,7 +58,7 @@ If the signal causes a handler to be called, will only return after the signal handler has returned. .SH "RETURN VALUE" .BR raise () -returns 0 on success, and non-zero for failure. +returns 0 on success, and nonzero for failure. .SH "CONFORMING TO" C89, C99, POSIX.1-2001. .SH "SEE ALSO" diff --git a/man3/rcmd.3 b/man3/rcmd.3 index 184685a47..0c4e386ec 100644 --- a/man3/rcmd.3 +++ b/man3/rcmd.3 @@ -115,7 +115,7 @@ and .IR stdout . If .I fd2p -is non-zero, then an auxiliary channel to a control +is nonzero, then an auxiliary channel to a control process will be set up, and a descriptor for it will be placed in .IR *fd2p . diff --git a/man3/regex.3 b/man3/regex.3 index ddf95b7f9..280758b58 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -221,7 +221,7 @@ If both .I errbuf and .I errbuf_size -are non-zero, +are nonzero, .I errbuf is filled in with the first .I "errbuf_size \- 1" diff --git a/man3/rexec.3 b/man3/rexec.3 index 687459f33..f7faa108e 100644 --- a/man3/rexec.3 +++ b/man3/rexec.3 @@ -90,7 +90,7 @@ and .IR stdout . If .I fd2p -is non-zero, then an auxiliary channel to a control +is nonzero, then an auxiliary channel to a control process will be setup, and a descriptor for it will be placed in .IR *fd2p . diff --git a/man3/rpc.3 b/man3/rpc.3 index 5d4b36a6c..89a4cb32f 100644 --- a/man3/rpc.3 +++ b/man3/rpc.3 @@ -793,7 +793,7 @@ is zero, the service is not registered with the service. If .I protocol -is non-zero, then a mapping of the triple +is nonzero, then a mapping of the triple .RI [ prognum , versnum , protocol\fR] to \fIxprt\->xp_port\fR diff --git a/man3/rpmatch.3 b/man3/rpmatch.3 index 6812a7703..fd3f186f5 100644 --- a/man3/rpmatch.3 +++ b/man3/rpmatch.3 @@ -71,7 +71,7 @@ of \fIresponse\fP is unrecognized. .SH ERRORS A return value of \-1 may indicate either an invalid input, or some other error. -It is incorrect to only test if the return value is non-zero. +It is incorrect to only test if the return value is nonzero. .BR rpmatch () can fail for any of the reasons that diff --git a/man3/rtnetlink.3 b/man3/rtnetlink.3 index 8fd22d2e7..21203c88b 100644 --- a/man3/rtnetlink.3 +++ b/man3/rtnetlink.3 @@ -49,7 +49,7 @@ is the running length of the attribute buffer. When not true then you must assume there are no more attributes in the message, even if .I attrlen -is non-zero. +is nonzero. .PP .BI RTA_DATA( rta ) returns a pointer to the start of this attribute's data. diff --git a/man3/scandir.3 b/man3/scandir.3 index d92b741a3..8ea5fec44 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -66,7 +66,7 @@ The function scans the directory \fIdirp\fP, calling \fIfilter\fP() on each directory entry. Entries for which -\fIfilter\fP() returns non-zero are stored in strings allocated via +\fIfilter\fP() returns nonzero are stored in strings allocated via .BR malloc (3), sorted using .BR qsort (3) diff --git a/man3/sem_init.3 b/man3/sem_init.3 index ff09a310b..4051547f5 100644 --- a/man3/sem_init.3 +++ b/man3/sem_init.3 @@ -57,7 +57,7 @@ the heap). If .I pshared -is non-zero, then the semaphore is shared between processes, +is nonzero, then the semaphore is shared between processes, and should be located in a region of shared memory (see .BR shm_open (3), .BR mmap (2), @@ -89,7 +89,7 @@ exceeds .TP .B ENOSYS .I pshared -is non-zero, +is nonzero, but the system does not support process-shared semaphores (see .BR sem_overview (7)). .SH CONFORMING TO diff --git a/man3/setaliasent.3 b/man3/setaliasent.3 index cfd74f564..fdfb4033a 100644 --- a/man3/setaliasent.3 +++ b/man3/setaliasent.3 @@ -87,7 +87,7 @@ The functions .BR getaliasent_r () and .BR getaliasbyname_r () -return a non-zero value on error. +return a nonzero value on error. .SH FILES The default alias database is the file .IR /etc/aliases . diff --git a/man3/setbuf.3 b/man3/setbuf.3 index 6c69a1a56..b9d41a91d 100644 --- a/man3/setbuf.3 +++ b/man3/setbuf.3 @@ -151,7 +151,7 @@ setvbuf(stream, (char *) NULL, _IOLBF, 0); The function .BR setvbuf () returns 0 on success. -It returns non-zero on failure +It returns nonzero on failure .RI ( mode is invalid or the request cannot be honored). It may set diff --git a/man3/setenv.3 b/man3/setenv.3 index 63e5da230..c40705d87 100644 --- a/man3/setenv.3 +++ b/man3/setenv.3 @@ -61,7 +61,7 @@ function adds the variable \fIname\fP to the environment with the value \fIvalue\fP, if \fIname\fP does not already exist. If \fIname\fP does exist in the environment, then -its value is changed to \fIvalue\fP if \fIoverwrite\fP is non-zero; +its value is changed to \fIvalue\fP if \fIoverwrite\fP is nonzero; if \fIoverwrite\fP is zero, then the value of \fIname\fP is not changed. This function makes copies of the strings pointed to by diff --git a/man3/setjmp.3 b/man3/setjmp.3 index f66c31f2a..b81cc2e4d 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -63,7 +63,7 @@ returns. .BR sigsetjmp () is similar to .BR setjmp (). -If, and only if, \fIsavesigs\fP is non-zero, +If, and only if, \fIsavesigs\fP is nonzero, the process's current signal mask is saved in \fIenv\fP and will be restored if a .BR siglongjmp (3) @@ -73,7 +73,7 @@ is later performed with this \fIenv\fP. and .BR sigsetjmp () return 0 if returning directly, and -non-zero when returning from +nonzero when returning from .BR longjmp (3) or .BR siglongjmp (3) diff --git a/man3/signbit.3 b/man3/signbit.3 index afc20a679..a3de8c3ba 100644 --- a/man3/signbit.3 +++ b/man3/signbit.3 @@ -26,7 +26,7 @@ _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or .SH DESCRIPTION .BR signbit () is a generic macro which can work on all real floating-point types. -It returns a non-zero value if the value of +It returns a nonzero value if the value of .I x has its sign bit set. .PP @@ -37,13 +37,13 @@ The comparison .IR "-0.0 < 0.0" is false, but .IR "signbit(\-0.0)" -will return a non-zero value. +will return a nonzero value. NaNs and infinities have a sign bit. .SH RETURN VALUE The .BR signbit () -macro returns non-zero if the sign of +macro returns nonzero if the sign of .I x is negative; otherwise it returns zero. .SH ERRORS diff --git a/man3/stdio_ext.3 b/man3/stdio_ext.3 index 713a383c2..6e58cf856 100644 --- a/man3/stdio_ext.3 +++ b/man3/stdio_ext.3 @@ -69,28 +69,28 @@ or opened read-only. .LP The .BR __flbf () -function returns a non-zero value if the stream is line-buffered, +function returns a nonzero value if the stream is line-buffered, and zero otherwise. .LP The .BR __freadable () -function returns a non-zero value if the stream allows reading, +function returns a nonzero value if the stream allows reading, and zero otherwise. .LP The .BR __fwritable () -function returns a non-zero value if the stream allows writing, +function returns a nonzero value if the stream allows writing, and zero otherwise. .LP The .BR __freading () -function returns a non-zero value if the stream is read-only, or +function returns a nonzero value if the stream is read-only, or if the last operation on the stream was a read operation, and zero otherwise. .LP The .BR __fwriting () -function returns a non-zero value if the stream is write-only (or +function returns a nonzero value if the stream is write-only (or append-only), or if the last operation on the stream was a write operation, and zero otherwise. .LP diff --git a/man3/strtod.3 b/man3/strtod.3 index d38cdc336..934e733dc 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -161,7 +161,7 @@ on both success and failure, the calling program should set to 0 before the call, and then determine if an error occurred by checking whether .I errno -has a non-zero value after the call. +has a nonzero value after the call. .SH EXAMPLE See the example on the .BR strtol (3) diff --git a/man3/strtol.3 b/man3/strtol.3 index 937c7112d..426fee7aa 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -151,7 +151,7 @@ on both success and failure, the calling program should set to 0 before the call, and then determine if an error occurred by checking whether .I errno -has a non-zero value after the call. +has a nonzero value after the call. In locales other than the "C" locale, other strings may also be accepted. (For example, the thousands separator of the current locale may be diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 78af62457..05a4dc450 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -150,7 +150,7 @@ on both success and failure, the calling program should set to 0 before the call, and then determine if an error occurred by checking whether .I errno -has a non-zero value after the call. +has a nonzero value after the call. In locales other than the "C" locale, other strings may be accepted. (For example, the thousands separator of the current locale may be diff --git a/man3/system.3 b/man3/system.3 index 74042ed5b..fc5512a4f 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -69,7 +69,7 @@ If the value of .I command is NULL, .BR system () -returns non-zero if the shell is available, and zero if not. +returns nonzero if the shell is available, and zero if not. .PP .BR system () does not affect the wait status of any other children. diff --git a/man3/termios.3 b/man3/termios.3 index c6b916785..8729591a6 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -874,7 +874,7 @@ If B0 is specified, the modem control lines shall no longer be asserted. Normally, this will disconnect the line. \fBCBAUDEX\fP is a mask for the speeds beyond those defined in POSIX.1 (57600 and above). -Thus, \fBB57600\fP & \fBCBAUDEX\fP is non-zero. +Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero. .LP .BR cfgetispeed () returns the input baud rate stored in the \fItermios\fP structure. @@ -942,7 +942,7 @@ where after the fourteen values B0, ..., B9600 one finds the two constants EXTA, EXTB ("External A" and "External B"). Many systems extend the list with much higher baud rates. .LP -The effect of a non-zero \fIduration\fP with +The effect of a nonzero \fIduration\fP with .BR tcsendbreak () varies. SunOS specifies a break of @@ -955,7 +955,7 @@ FreeBSD and NetBSD and HP-UX and MacOS ignore the value of .IR duration . Under Solaris and Unixware, .BR tcsendbreak () -with non-zero +with nonzero .I duration behaves like .BR tcdrain (). diff --git a/man3/timeradd.3 b/man3/timeradd.3 index 869b9e71c..e766e61a9 100644 --- a/man3/timeradd.3 +++ b/man3/timeradd.3 @@ -100,11 +100,11 @@ so that it represents the time at midnight on the morning of 1 January 1970 (the Epoch). .BR timerisset () -returns true (non-zero) if either field of the +returns true (nonzero) if either field of the .I timeval structure pointed to by .I tvp -contains a non-zero value. +contains a nonzero value. .BR timercmp () compares the timer values in @@ -113,7 +113,7 @@ and .I b using the comparison operator .IR CMP , -and returns true (non-zero) or false (0) depending on +and returns true (nonzero) or false (0) depending on the result of the comparison. Some systems (but not Linux/glibc), have a broken @@ -140,7 +140,7 @@ portable applications can instead use .BR timerisset () and .BR timercmp () -return true (non-zero) or false (0). +return true (nonzero) or false (0). .SH ERRORS No errors are defined. .SH CONFORMING TO diff --git a/man3/tzset.3 b/man3/tzset.3 index 10c6d3a1a..cf5de8782 100644 --- a/man3/tzset.3 +++ b/man3/tzset.3 @@ -68,7 +68,7 @@ This function is automatically called by the other time conversion functions that depend on the timezone. In a System-V-like environment it will also set the variables \fItimezone\fP (seconds West of GMT) and \fIdaylight\fP (0 if this timezone does not -have any daylight saving time rules, non-zero if there is a time during +have any daylight saving time rules, nonzero if there is a time during the year when daylight saving time applies). .PP If the diff --git a/man3/ualarm.3 b/man3/ualarm.3 index 9d90af1b9..755440da3 100644 --- a/man3/ualarm.3 +++ b/man3/ualarm.3 @@ -55,7 +55,7 @@ signal will terminate the process. .LP If the .I interval -argument is non-zero, further +argument is nonzero, further .B SIGALRM signals will be sent every .I interval diff --git a/man3/wctomb.3 b/man3/wctomb.3 index 6b11b5a2e..5a40d5de6 100644 --- a/man3/wctomb.3 +++ b/man3/wctomb.3 @@ -45,7 +45,7 @@ function .\" glibc doesn't implement this. resets the shift state, only known to this function, to the initial state, and -returns non-zero if the encoding has nontrivial shift state, +returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "RETURN VALUE" If \fIs\fP is not NULL, the @@ -59,7 +59,7 @@ to the current locale), \-1 is returned. .PP If \fIs\fP is NULL, the .BR wctomb () -function returns non-zero if the +function returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "CONFORMING TO" C99. diff --git a/man3/xdr.3 b/man3/xdr.3 index 776b5893d..da02912e8 100644 --- a/man3/xdr.3 +++ b/man3/xdr.3 @@ -300,7 +300,7 @@ This routine can be invoked only on streams created by The data in the output buffer is marked as a completed record, and the output buffer is optionally written out if .I sendnow -is non-zero. +is nonzero. This routine returns one if it succeeds, zero otherwise. .LP .nf @@ -281,7 +281,7 @@ setmarks. .B MTCOMPRESSION Enable compression of tape data within the drive if .I mt_count -is non-zero and disable compression if +is nonzero and disable compression if .I mt_count is zero. This command uses the MODE page 15 supported by most DATs. @@ -334,7 +334,7 @@ Lock the tape drive door. Format the tape into one or two partitions. If .I mt_count -is non-zero, it gives the size of the first partition and the second +is nonzero, it gives the size of the first partition and the second partition contains the rest of the tape. If .I mt_count @@ -525,7 +525,7 @@ necessary only when interchanging tapes with some other systems. This option turns on various debugging messages from the driver (effective only if the driver was compiled with .B DEBUG -defined non-zero). +defined nonzero). .TP .BR MT_ST_FAST_EOM " (Default: false)" This option causes the @@ -674,7 +674,7 @@ The bits 9-16 specify a mask to select the bits to look at and the bits 17-23 specify the bit pattern to look for. If the bit pattern is zero, one or more bits under the mask indicate the cleaning request. -If the pattern is non-zero, the pattern must match +If the pattern is nonzero, the pattern must match the masked sense data byte. .SS "MTIOCGET \(em Get status" .PP diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index 5d7636e30..6a4719fd5 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -73,7 +73,7 @@ The structure of a terminal can be locked. The lock is itself a .I termios -structure, with non-zero bits or fields indicating a +structure, with nonzero bits or fields indicating a locked value. .TP .BI "TIOCGLCKTRMIOS struct termios *" argp @@ -135,11 +135,11 @@ serial data transmission, then either a break is sent, or the function returns without doing anything. When .I arg -is non-zero, nobody knows what will happen. +is nonzero, nobody knows what will happen. (SVr4, UnixWare, Solaris, Linux treat .I "tcsendbreak(fd,arg)" -with non-zero +with nonzero .I arg like .IR "tcdrain(fd)" . @@ -151,14 +151,14 @@ times as long as done for zero .IR arg . DG/UX and AIX treat .I arg -(when non-zero) as a time interval measured in milliseconds. +(when nonzero) as a time interval measured in milliseconds. HP-UX ignores .IR arg .) .TP .BI "TCSBRKP int " arg So-called "POSIX version" of .BR TCSBRK . -It treats non-zero +It treats nonzero .I arg as a timeinterval measured in deciseconds, and does nothing when the driver does not support breaks. @@ -304,13 +304,13 @@ Set the line discipline of the terminal. .BI "TIOCPKT const int *" argp Enable (when .RI * argp -is non-zero) or disable packet mode. +is nonzero) or disable packet mode. Can be applied to the master side of a pseudo-terminal only (and will return .B ENOTTY otherwise). In packet mode, each subsequent .BR read (2) -will return a packet that either contains a single non-zero control byte, +will return a packet that either contains a single nonzero control byte, or has a single byte containing zero (\(aq\0\(aq) followed by data written on the slave side of the pseudo-terminal. If the first byte is not @@ -389,7 +389,7 @@ Set the CLOCAL flag in the .I termios structure when .RI * argp -is non-zero, and clear it otherwise. +is nonzero, and clear it otherwise. .LP If the .B CLOCAL diff --git a/man5/core.5 b/man5/core.5 index 886e88a92..0c3bcfec2 100644 --- a/man5/core.5 +++ b/man5/core.5 @@ -153,7 +153,7 @@ For backward compatibility, if does not include "%p" and .I /proc/sys/kernel/core_uses_pid (see below) -is non-zero, then .PID will be appended to the core filename. +is nonzero, then .PID will be appended to the core filename. Since version 2.4, Linux has also provided a more primitive method of controlling @@ -162,7 +162,7 @@ If the .I /proc/sys/kernel/core_uses_pid file contains the value 0, then a core dump file is simply named .IR core . -If this file contains a non-zero value, then the core dump file includes +If this file contains a nonzero value, then the core dump file includes the process ID in a name of the form .IR core.PID . .SS Piping core dumps to a program diff --git a/man5/elf.5 b/man5/elf.5 index b8471b9ac..72d2b499d 100644 --- a/man5/elf.5 +++ b/man5/elf.5 @@ -1098,7 +1098,7 @@ the section occupies bytes in the file. A section of type .BR SHT_NOBITS -may have a non-zero size, but it occupies no space in the file. +may have a nonzero size, but it occupies no space in the file. .TP .IR sh_link This member holds a section header table index link, whose interpretation @@ -1480,7 +1480,7 @@ order. This member holds an index into the object file's symbol string table, which holds character representations of the symbol names. If the value -is non-zero, it represents a string table index that gives the symbol +is nonzero, it represents a string table index that gives the symbol name. Otherwise, the symbol table has no name. .TP diff --git a/man5/proc.5 b/man5/proc.5 index 997a2a0ac..09b2ce512 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1769,7 +1769,7 @@ can be reclaimed when memory is short. .IP * .I want_pages .\" looks like this is unused in kernels 2.2 to 2.6 -is non-zero when the kernel has called shrink_dcache_pages() and the +is nonzero when the kernel has called shrink_dcache_pages() and the dcache isn't pruned yet. .RE .TP @@ -1877,7 +1877,7 @@ because Linux allocates them one page full at a time. .I nr_free_inodes represents the number of free inodes. .I preshrink -is non-zero when the +is nonzero when the .I nr_inodes > .I inode-max @@ -1906,7 +1906,7 @@ This file can be used to enable or disable file leases .RB ( fcntl (2)) on a system-wide basis. If this file contains the value 0, leases are disabled. -A non-zero value enables leases. +A nonzero value enables leases. .TP .IR /proc/sys/fs/mqueue " (since Linux 2.6.6)" This directory contains files @@ -2077,7 +2077,7 @@ see the man page. .TP .I /proc/sys/kernel/htab-reclaim -(PowerPC only) If this file is set to a non-zero value, +(PowerPC only) If this file is set to a nonzero value, the PowerPC htab (see kernel file .IR Documentation/powerpc/ppc_htab.txt ) @@ -2089,7 +2089,7 @@ each time the system hits the idle loop. contains a flag that controls the L2 cache of G3 processor boards. If 0, the cache is disabled. -Enabled if non-zero. +Enabled if nonzero. .TP .I /proc/sys/kernel/modprobe This file contains the path for the kernel module loader. @@ -2135,7 +2135,7 @@ and .I /proc/sys/kernel/panic This file gives read/write access to the kernel variable .IR panic_timeout . -If this is zero, the kernel will loop on a panic; if non-zero +If this is zero, the kernel will loop on a panic; if nonzero it indicates that the kernel should autoreboot after this number of seconds. When you use the @@ -2151,7 +2151,7 @@ delays a few seconds (to give klogd time to record the oops output) and then panics. If the .I /proc/sys/kernel/panic -file is also non-zero then the machine will be rebooted. +file is also nonzero then the machine will be rebooted. .TP .IR /proc/sys/kernel/pid_max " (since Linux 2.5.34)" This file specifies the value at which PIDs wrap around @@ -2334,7 +2334,7 @@ threads (tasks) that can be created on the system. .IR /proc/sys/kernel/zero-paged " (PowerPC only) " This file contains a flag. -When enabled (non-zero), Linux-PPC will pre-zero pages in +When enabled (nonzero), Linux-PPC will pre-zero pages in the idle loop, possibly speeding up get_free_pages. .TP .I /proc/sys/net @@ -2392,7 +2392,7 @@ The default value is 60. .TP .IR /proc/sys/vm/legacy_va_layout " (since Linux 2.6.9)" .\" The following is from Documentation/filesystems/proc.txt -If non-zero, this disables the new 32-bit memory-mapping layout; +If nonzero, this disables the new 32-bit memory-mapping layout; the kernel will use the legacy (2.4) layout for all processes. .TP .IR /proc/sys/vm/oom_dump_tasks " (since Linux 2.6.25)" @@ -2416,7 +2416,7 @@ it may not be feasible to dump the memory state information for each one. Such systems should not be forced to incur a performance penalty in OOM situations when the information may not be desired. -If this is set to non-zero, this information is shown whenever the +If this is set to nonzero, this information is shown whenever the OOM-killer actually kills a memory-hogging task. The default value is 0. @@ -2431,13 +2431,13 @@ tasklist and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. -If this is set to non-zero, the OOM-killer simply kills the task that +If this is set to nonzero, the OOM-killer simply kills the task that triggered the out-of-memory condition. This avoids a possibly expensive tasklist scan. If .I /proc/sys/vm/panic_on_oom -is non-zero, it takes precedence over whatever value is used in +is nonzero, it takes precedence over whatever value is used in .IR /proc/sys/vm/oom_kill_allocating_task . The default value is 0. @@ -2460,7 +2460,7 @@ with .B MAP_NORESERVE are not checked, and the default check is very weak, leading to the risk of getting a process "OOM-killed". -Under Linux 2.4 any non-zero value implies mode 1. +Under Linux 2.4 any nonzero value implies mode 1. In mode 2 (available since Linux 2.6), the total virtual address space on the system is limited to (SS + RAM*(r/100)), where SS is the size of the swap space, and RAM diff --git a/man7/bootparam.7 b/man7/bootparam.7 index 1e2885ad3..f40c66d25 100644 --- a/man7/bootparam.7 +++ b/man7/bootparam.7 @@ -330,7 +330,7 @@ It is possible to enable a kernel profiling function, if one wishes to find out where the kernel is spending its CPU cycles. Profiling is enabled by setting the variable .I prof_shift -to a non-zero value. +to a nonzero value. This is done either by specifying .B CONFIG_PROFILE at compile time, or by giving the 'profile=' option. @@ -530,7 +530,7 @@ value can be specified to set the debug level. All the parameters are as described at the top of this section, and the .I reconnect -value will allow device disconnect/reconnect if a non-zero value +value will allow device disconnect/reconnect if a nonzero value is used. An example usage is as follows: .IP @@ -580,11 +580,11 @@ These boards can accept an argument of the form: .IP The .I extended -value, if non-zero, indicates that extended translation for large +value, if nonzero, indicates that extended translation for large disks is enabled. The .I no_reset -value, if non-zero, tells the driver not to reset the SCSI bus when +value, if nonzero, tells the driver not to reset the SCSI bus when setting up the host adapter at boot. .TP .B "AdvanSys SCSI Hosts configuration ('advansys=')" diff --git a/man7/capabilities.7 b/man7/capabilities.7 index 94d8629da..d27188672 100644 --- a/man7/capabilities.7 +++ b/man7/capabilities.7 @@ -52,7 +52,7 @@ traditional Unix implementations distinguish two categories of processes: processes (whose effective user ID is 0, referred to as superuser or root), and .I unprivileged -processes (whose effective UID is non-zero). +processes (whose effective UID is nonzero). Privileged processes bypass all kernel permission checks, while unprivileged processes are subject to full permission checking based on the process's credentials @@ -573,7 +573,7 @@ a set-user-ID-root program, or when a process with an effective UID of 0 a program, it gains all capabilities in its permitted and effective capability sets, except those masked out by the capability bounding set. -.\" If a process with real UID 0, and non-zero effective UID does an +.\" If a process with real UID 0, and nonzero effective UID does an .\" exec(), then it gets all capabilities in its .\" permitted set, and no effective capabilities This provides semantics that are the same as those provided by @@ -690,7 +690,7 @@ back into the thread's inherited set in the future. .\" .SS Effect of User ID Changes on Capabilities To preserve the traditional semantics for transitions between -0 and non-zero user IDs, +0 and nonzero user IDs, the kernel makes the following changes to a thread's capability sets on changes to the thread's real, effective, saved set, and file system user IDs (using @@ -700,17 +700,17 @@ or similar): .IP 1. 3 If one or more of the real, effective or saved set user IDs was previously 0, and as a result of the UID changes all of these IDs -have a non-zero value, +have a nonzero value, then all capabilities are cleared from the permitted and effective capability sets. .IP 2. -If the effective user ID is changed from 0 to non-zero, +If the effective user ID is changed from 0 to nonzero, then all capabilities are cleared from the effective set. .IP 3. -If the effective user ID is changed from non-zero to 0, +If the effective user ID is changed from nonzero to 0, then the permitted set is copied to the effective set. .IP 4. -If the file system user ID is changed from 0 to non-zero (see +If the file system user ID is changed from 0 to nonzero (see .BR setfsuid (2)) then the following capabilities are cleared from the effective set: .BR CAP_CHOWN , @@ -724,13 +724,13 @@ then the following capabilities are cleared from the effective set: and .B CAP_MKNOD (since Linux 2.2.30). -If the file system UID is changed from non-zero to 0, +If the file system UID is changed from nonzero to 0, then any of these capabilities that are enabled in the permitted set are enabled in the effective set. .PP If a thread that has a 0 value for one or more of its user IDs wants to prevent its permitted capability set being cleared when it resets -all of its user IDs to non-zero values, it can do so using the +all of its user IDs to nonzero values, it can do so using the .BR prctl (2) .B PR_SET_KEEPCAPS operation. @@ -780,7 +780,7 @@ These flags are as follows: .TP .B SECURE_KEEP_CAPS Setting this flag allows a thread that has one or more 0 UIDs to retain -its capabilities when it switches all of its UIDs to a non-zero value. +its capabilities when it switches all of its UIDs to a nonzero value. If this flag is not set, then such a UID switch causes the thread to lose all capabilities. This flag is always cleared on an @@ -793,7 +793,7 @@ operation.) .B SECURE_NO_SETUID_FIXUP Setting this flag stops the kernel from adjusting capability sets when the threads's effective and file system UIDs are switched between -zero and non-zero values. +zero and nonzero values. (See the subsection .IR "Effect of User ID Changes on Capabilities" .) .TP diff --git a/man7/icmp.7 b/man7/icmp.7 index c5b676aaa..7d6654f87 100644 --- a/man7/icmp.7 +++ b/man7/icmp.7 @@ -58,13 +58,13 @@ packets needed for path MTU discovery. .TP .IR icmp_echo_ignore_all " (since Linux 2.2)" .\" Precisely: 2.1.68 -If this value is non-zero, Linux will ignore all +If this value is nonzero, Linux will ignore all .B ICMP_ECHO requests. .TP .IR icmp_echo_ignore_broadcasts " (since Linux 2.2)" .\" Precisely: from 2.1.68 -If this value is non-zero, Linux will ignore all +If this value is nonzero, Linux will ignore all .B ICMP_ECHO packets sent to broadcast addresses. .TP @@ -720,7 +720,7 @@ The parameters can be accessed by reading or writing files in the directory .\" ip_conntrack_max Interfaces described as .I Boolean -take an integer value, with a non-zero value ("true") meaning that +take an integer value, with a nonzero value ("true") meaning that the corresponding option is enabled, and a zero value ("false") meaning that the option is disabled. .\" diff --git a/man7/ipv6.7 b/man7/ipv6.7 index 2e5900e60..98b2fb02f 100644 --- a/man7/ipv6.7 +++ b/man7/ipv6.7 @@ -252,7 +252,7 @@ otherwise it should be between 0 and 255. .TP .BR IPV6_V6ONLY " (since Linux 2.4.21 and 2.6)" .\" See RFC 3493 -If this flag is set to true (non-zero), then the socket is restricted +If this flag is set to true (nonzero), then the socket is restricted to sending and receiving IPv6 packets only. In this case, an IPv4 and an IPv6 application can bind to a single port at the same time. diff --git a/man7/math_error.7 b/man7/math_error.7 index ffff4f45c..058910b62 100644 --- a/man7/math_error.7 +++ b/man7/math_error.7 @@ -64,9 +64,9 @@ before calling a mathematical function. Upon return from the mathematical function, if .I errno -is non-zero, or the following call (see +is nonzero, or the following call (see .BR fenv (3)) -returns non-zero +returns nonzero .in +4n .nf @@ -176,7 +176,7 @@ floating-point exception may be raised. Some functions deliver a range error if the supplied argument value, or the correct function result, would be .IR subnormal . -A subnormal value is one that is non-zero, +A subnormal value is one that is nonzero, but with a magnitude that is so small that it can't be presented in normalized form (i.e., with a 1 in the most significant bit of the significand). diff --git a/man7/mdoc.samples.7 b/man7/mdoc.samples.7 index 88c5fced2..a6abf204d 100644 --- a/man7/mdoc.samples.7 +++ b/man7/mdoc.samples.7 @@ -2797,7 +2797,7 @@ The second line gives the argument count, the argument and its length. If the length of an argument is two characters, the argument is tested to see if it is executable (unfortunately, any -register which contains a non-zero value appears executable). +register which contains a nonzero value appears executable). The third line gives the space allotted for a class, and the class type. The problem here is the argument aC should not be diff --git a/man7/mq_overview.7 b/man7/mq_overview.7 index 4edc75466..3d71efb3a 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -234,7 +234,7 @@ These fields are as follows: Number of bytes of data in all messages in the queue. .TP .B NOTIFY_PID -If this is non-zero, then the process with this PID has used +If this is nonzero, then the process with this PID has used .BR mq_notify (3) to register for asynchronous message notification, and the remaining fields describe how notification occurs. diff --git a/man7/pthreads.7 b/man7/pthreads.7 index aac33a10a..afed8bf0f 100644 --- a/man7/pthreads.7 +++ b/man7/pthreads.7 @@ -402,7 +402,7 @@ getnameinfo() getnetbyaddr() getnetbyname() getnetent() -getopt() (if opterr is non-zero) +getopt() (if opterr is nonzero) getprotobyname() getprotobynumber() getprotoent() diff --git a/man7/raw.7 b/man7/raw.7 index 308fdba36..bead0f28f 100644 --- a/man7/raw.7 +++ b/man7/raw.7 @@ -62,7 +62,7 @@ Total Length:Always filled in. .PP If .B IP_HDRINCL -is specified and the IP header has a non-zero destination address then +is specified and the IP header has a nonzero destination address then the destination address of the socket is used to route the packet. When .B MSG_DONTROUTE diff --git a/man7/regex.7 b/man7/regex.7 index a832afeca..1f970ea03 100644 --- a/man7/regex.7 +++ b/man7/regex.7 @@ -248,7 +248,7 @@ RE or the beginning of a parenthesized subexpression (after a possible leading \(aq^\(aq). .PP Finally, there is one new type of atom, a \fIback reference\fR: -\(aq\e\(aq followed by a non-zero decimal digit \fId\fR +\(aq\e\(aq followed by a nonzero decimal digit \fId\fR matches the same sequence of characters matched by the \fId\fRth parenthesized subexpression (numbering subexpressions by the positions of their opening parentheses, diff --git a/man7/socket.7 b/man7/socket.7 index a418efdd2..b8c4433a6 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -103,7 +103,7 @@ Seeking, or calling .BR pread (2) or .BR pwrite (2) -with a non-zero position is not supported on sockets. +with a nonzero position is not supported on sockets. .PP It is possible to do non-blocking I/O on sockets by setting the .B O_NONBLOCK diff --git a/man7/tcp.7 b/man7/tcp.7 index ddc84080b..a470af167 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -165,7 +165,7 @@ interfaces also apply to TCP; see .BR ip (7). Variables described as .I Boolean -take an integer value, with a non-zero value ("true") meaning that +take an integer value, with a nonzero value ("true") meaning that the corresponding option is enabled, and a zero value ("false") meaning that the option is disabled. .TP @@ -784,7 +784,7 @@ If larger send buffer sizes are desired, this value should be increased (to affect all sockets). To employ large TCP windows, the .I /proc/sys/net/ipv4/tcp_window_scaling -must be set to a non-zero value (default). +must be set to a nonzero value (default). .TP .I max The maximum size of the send buffer used by each TCP socket. @@ -1017,7 +1017,7 @@ is returned. .B SIOCATMARK Returns true (i.e., .I value -is non-zero) if the inbound data stream is at the urgent mark. +is nonzero) if the inbound data stream is at the urgent mark. If the .B SO_OOBINLINE diff --git a/man8/tzselect.8 b/man8/tzselect.8 index 717eaee1f..e8f2a88cc 100644 --- a/man8/tzselect.8 +++ b/man8/tzselect.8 @@ -17,7 +17,7 @@ environment variable. All interaction with the user is done via standard input and standard error. .SH "EXIT STATUS" The exit status is zero if a timezone was successfully obtained -from the user, non-zero otherwise. +from the user, nonzero otherwise. .SH ENVIRONMENT .TP \fBAWK\fP |