diff --git a/man1/intro.1 b/man1/intro.1 index e193a1757..8772cfa4e 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 nonzero status means that the command was unsuccessful. +and a non-zero status means that the command was unsuccessful. (Details of the exit status can be found in .BR wait (2).) -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 +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 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 cab731a9f..04a31de87 100644 --- a/man1/time.1 +++ b/man1/time.1 @@ -59,7 +59,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 nonzero value (1-125) if something else went wrong. +and some other non-zero 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 b56a31e02..ca42cfc1d 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 nonzero and the caller does not have sufficient privilege. +is non-zero 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 d6df93e9e..e97ea2222 100644 --- a/man2/capget.2 +++ b/man2/capget.2 @@ -81,7 +81,7 @@ The calls operate on the capabilities of the thread specified by the .I pid field of .I hdrp -when that is nonzero, or on the capabilities of the calling thread if +when that is non-zero, or on the capabilities of the calling thread if .I pid is 0. If @@ -137,7 +137,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 nonzero value (i.e., the value returned by +field as a non-zero 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 ed0b73176..6c9152b6a 100644 --- a/man2/eventfd.2 +++ b/man2/eventfd.2 @@ -46,7 +46,7 @@ eventfd object. The following operations can be performed on the file descriptor: .TP .BR read (2) -If the eventfd counter has a nonzero value, then a +If the eventfd counter has a non-zero value, then a .BR read (2) returns 8 bytes containing that value, and the counter's value is reset to zero. @@ -55,7 +55,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 nonzero, +then the call either blocks until the counter becomes non-zero, or fails with the error .B EAGAIN if the file descriptor has been made non-blocking @@ -180,7 +180,7 @@ is set to indicate the error. .SH ERRORS .TP EINVAL .I flags -is nonzero. +is non-zero. .\" Eventually glibc may support some flags .TP .B EMFILE diff --git a/man2/fcntl.2 b/man2/fcntl.2 index e66869a4f..a35645703 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -469,7 +469,7 @@ would report the socket as having an "exceptional condition".) .\" refers to a terminal device, then SIGIO .\" signals are sent to the foreground process group of the terminal. -If a nonzero value is given to +If a non-zero value is given to .B F_SETSIG in a multi-threaded process running with a threading library that supports thread groups (e.g., NPTL), @@ -543,7 +543,7 @@ is the signal to send instead, and in this case additional info is available to the signal handler if installed with .BR SA_SIGINFO . -Additionally, passing a nonzero value to +Additionally, passing a non-zero value to .B F_SETSIG changes the signal recipient from a whole process to a specific thread within a process. @@ -553,7 +553,7 @@ for more details. By using .B F_SETSIG -with a nonzero value, and setting +with a non-zero value, and setting .B SA_SIGINFO for the signal handler (see diff --git a/man2/getitimer.2 b/man2/getitimer.2 index a016dc47d..e0ce37079 100644 --- a/man2/getitimer.2 +++ b/man2/getitimer.2 @@ -84,7 +84,7 @@ sets the indicated timer to the value in .IR value . If .I ovalue -is nonzero, the old value of the timer is stored there. +is non-zero, the old value of the timer is stored there. .LP Timers decrement from .I it_value diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index e5da19dae..b4d64b00a 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -137,7 +137,7 @@ Maximum size of .I core file. When 0 no core dump files are created. -When nonzero, larger dumps are truncated to this size. +When non-zero, 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 a8cc4521a..39adf92ad 100644 --- a/man2/getsockopt.2 +++ b/man2/getsockopt.2 @@ -122,7 +122,7 @@ parameter for .IR optval . For .BR setsockopt (), -the parameter should be nonzero to enable a boolean option, or zero if the +the parameter should be non-zero 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 09e0d155b..42796a9af 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 nonzero. +field is non-zero. 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 25f26806a..ae0cec8e0 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 nonzero +Many system calls return 0 on success, but some can return non-zero 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 6aa0db187..24dc476a9 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 nonzero, then +is non-zero, then .I data points to an input buffer of length .IR length . If .I flags & FD_RAW_READ -is nonzero, then +is non-zero, then .I data points to an output buffer of length .IR length . diff --git a/man2/ioperm.2 b/man2/ioperm.2 index ec4612ba2..479363f4c 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 nonzero, the calling process must be privileged +If \fIturn_on\fP is non-zero, 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 6d7427656..c23540b98 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 nonzero +(Linux 2.6.9 and later) the caller had a non-zero .B RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitted. @@ -306,7 +306,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 nonzero value), +setting its effective UID to a non-zero 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 1ba587d52..492906252 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 nonzero +\fIput_old\fP must be underneath \fInew_root\fP, that is, adding a non-zero 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 65f6d8203..cc4a51771 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -238,7 +238,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 nonzero +the number of structures which have non-zero .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 a5f4240ad..734ea734d 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -96,7 +96,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 nonzero value. This was fixed in 2.6.14. +.\" flags has a non-zero value. This was fixed in 2.6.14. .TP .B PR_SET_KEEPCAPS (Since Linux 2.2.18) @@ -104,7 +104,7 @@ Set the state of the process's "keep capabilities" flag, which determines whether the process's effective and permitted capability sets are cleared when a change is made to the process's user IDs such that the process's real UID, effective UID, and saved set-user-ID -all become nonzero when at least one of them previously had the value 0. +all become non-zero 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 80c0acacb..3d310535f 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -301,7 +301,7 @@ for .TP .B PTRACE_CONT Restarts the stopped child process. -If \fIdata\fP is nonzero and not +If \fIdata\fP is non-zero 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 aa39325c8..f7700c2da 100644 --- a/man2/sched_setscheduler.2 +++ b/man2/sched_setscheduler.2 @@ -244,7 +244,7 @@ policies). .SS Privileges and resource limits In Linux kernels before 2.6.12, only privileged .RB ( CAP_SYS_NICE ) -processes can set a nonzero static priority. +processes can set a non-zero static priority. The only change that an unprivileged process can make is to set the .B SCHED_OTHER policy, and this can only be done if the effective user ID of the caller of @@ -262,7 +262,7 @@ priority for the and .B SCHED_FIFO policies. -If an unprivileged process has a nonzero +If an unprivileged process has a non-zero .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 2c2ec40fe..b33323c7d 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -119,7 +119,7 @@ descriptor is still present in the set with the .BR FD_ISSET () macro. .BR FD_ISSET () -returns nonzero if the descriptor is present and zero if +returns non-zero if the descriptor is present and zero if it is not. .BR FD_CLR () removes a file descriptor from the set. diff --git a/man2/semget.2 b/man2/semget.2 index 0e61e4e9b..531def6e5 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -273,7 +273,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 nonzero +initialize the set, checking for a non-zero .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 c79239c3b..9e13cf3de 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 nonzero value other than +a non-zero value other than .BR SS_DISABLE . .TP .B ENOMEM diff --git a/man2/signalfd.2 b/man2/signalfd.2 index e5c260b4f..e88297b86 100644 --- a/man2/signalfd.2 +++ b/man2/signalfd.2 @@ -260,7 +260,7 @@ file descriptor is not a valid file descriptor. is not a valid signalfd file descriptor; or, .I flags -is nonzero. +is non-zero. .\" Eventually glibc may support some flags .\" or, the .\" .I sizemask diff --git a/man2/sysctl.2 b/man2/sysctl.2 index fdda12d93..9cc0a8053 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -86,9 +86,9 @@ was not found. No search permission for one of the encountered "directories", or no read permission where .I oldval -was nonzero, or no write permission where +was non-zero, or no write permission where .I newval -was nonzero. +was non-zero. .SH "CONFORMING TO" This call is Linux-specific, and should not be used in programs intended to be portable. diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index cb0c7d160..598ef7505 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -115,14 +115,14 @@ specifies the initial expiration of the timer, in seconds and nanoseconds. Setting either field of .I new_value.it_value -to a nonzero value arms the timer. +to a non-zero 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 nonzero values specifies the period, in seconds and nanoseconds, +to non-zero 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 diff --git a/man2/wait.2 b/man2/wait.2 index e425bc8bf..fdecf0a3f 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -346,7 +346,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 nonzero value in this field +field before the call and check for a non-zero value in this field after the call returns. .SH "RETURN VALUE" .BR wait (): diff --git a/man3/argz_add.3 b/man3/argz_add.3 index ddbbb7e02..8b63ae15d 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 ('\\0'). -If the length is nonzero, the last byte of the buffer must be a null byte. +If the length is non-zero, 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 94ca31f28..d68c3ea0c 100644 --- a/man3/assert_perror.3 +++ b/man3/assert_perror.3 @@ -48,7 +48,7 @@ by calling .BR abort (3) if .I errnum -is nonzero. +is non-zero. 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 9057cefa8..2d6a50e3f 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -64,7 +64,7 @@ all registrations are removed. The .BR atexit () function returns the value 0 if successful; otherwise -it returns a nonzero value. +it returns a non-zero 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 932b80844..8adb9083b 100644 --- a/man3/backtrace.3 +++ b/man3/backtrace.3 @@ -141,7 +141,7 @@ Note the following: Omission of the frame pointers (as implied by any of .BR gcc (1)'s -nonzero optimization levels) may cause these assumptions to be +non-zero 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 73a63950f..a05e7ed8d 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 nonzero result. +Otherwise it returns a non-zero result. .SH "RETURN VALUE" The .BR bcmp () function returns 0 if the byte sequences are equal, -otherwise a nonzero result is returned. +otherwise a non-zero 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 b02f3ec49..5a0178e69 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 nonzero +function returns zero on success, and a non-zero 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 nonzero value". +.\" Glibc info and the Watcom C library document "a non-zero value". .SH VERSIONS Not in libc4, libc5. In glibc since glibc 2.0. diff --git a/man3/ctime.3 b/man3/ctime.3 index 3be45c6f0..b3f83d564 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -192,7 +192,7 @@ The function acts as if it called and sets the external variables \fItzname\fP with information about the current time zone, \fItimezone\fP with the difference between Coordinated Universal Time (UTC) and local standard time in -seconds, and \fIdaylight\fP to a nonzero value if daylight savings +seconds, and \fIdaylight\fP to a non-zero 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/daemon.3 b/man3/daemon.3 index 6e57bc3a6..bea3b4b5c 100644 --- a/man3/daemon.3 +++ b/man3/daemon.3 @@ -54,13 +54,13 @@ controlling terminal and run in the background as system daemons. .PP Unless the argument .I nochdir -is nonzero, +is non-zero, .BR daemon () changes the current working directory to the root ("/"). .PP Unless the argument .I noclose -is nonzero, +is non-zero, .BR daemon () will redirect standard input, standard output and standard error to \fI/dev/null\fP. diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3 index 5238ad074..dfe5caf11 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 nonzero value. +returns a non-zero value. Each call to .I callback diff --git a/man3/dlopen.3 b/man3/dlopen.3 index e38e0e93a..cec5767fd 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -283,7 +283,7 @@ symbols in it, then the dynamic library is unloaded. .LP The function .BR dlclose () -returns 0 on success, and nonzero on error. +returns 0 on success, and non-zero on error. .SS "The obsolete symbols _init() and _fini()" The linker recognizes special symbols .B _init @@ -357,7 +357,7 @@ typedef struct { .in .sp .BR dladdr () -returns 0 on error, and nonzero on success. +returns 0 on error, and non-zero on success. .PP The function .BR dlvsym () diff --git a/man3/ecvt.3 b/man3/ecvt.3 index eeb7ebfc9..ea5af2efe 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 nonzero, unless +The high-order digit is non-zero, 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 nonzero value, +\fInumber\fP is negative, \fI*sign\fP is set to a non-zero value, otherwise it is set to 0. If .I number diff --git a/man3/errno.3 b/man3/errno.3 index c3a327857..42075d013 100644 --- a/man3/errno.3 +++ b/man3/errno.3 @@ -57,7 +57,7 @@ may be a macro. \fIerrno\fP is thread-local; setting it in one thread does not affect its value in any other thread. -Valid error numbers are all nonzero; \fIerrno\fP is never set to zero +Valid error numbers are all non-zero; \fIerrno\fP is never set to zero by any library function. All the error names specified by POSIX.1 must have distinct values, with the exception of diff --git a/man3/error.3 b/man3/error.3 index fc4dfbea3..d55752dab 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 -nonzero, a second colon and a space followed by the string given by +non-zero, 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 nonzero value, then +If \fIstatus\fP has a non-zero 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 nonzero, +If the global variable \fIerror_one_per_line\fP is set non-zero, a sequence of .BR error_at_line () calls with the diff --git a/man3/ether_aton.3 b/man3/ether_aton.3 index 4b495ec11..bb047f291 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 nonzero if it cannot be found. +and returns non-zero 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 nonzero if it cannot be found. +and returns non-zero 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; '#' introduces a comment) and returns an address -and hostname pair, or nonzero if it cannot be parsed. +and hostname pair, or non-zero 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 a55787a6d..6329b1a3f 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 nonzero value +(to non-Unix environments) than the use of 0 and some non-zero value like 1 or \-1. In particular, VMS uses a different convention. .LP diff --git a/man3/fenv.3 b/man3/fenv.3 index 971f6ebef..843bea9a0 100644 --- a/man3/fenv.3 +++ b/man3/fenv.3 @@ -206,7 +206,7 @@ As before, the object .I *envp must be known to be valid. .SH "RETURN VALUE" -These functions return zero on success and nonzero if an error occurred. +These functions return zero on success and non-zero 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 cc65d4caa..3d81897d3 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 nonzero if it is set. +returning non-zero 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 nonzero if it is set. +returning non-zero 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 3de769356..fdd58ede9 100644 --- a/man3/finite.3 +++ b/man3/finite.3 @@ -71,12 +71,12 @@ _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE .SH DESCRIPTION The .BR finite () -functions return a nonzero value if \fIx\fP is neither infinite +functions return a non-zero value if \fIx\fP is neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise. The .BR isnan () -functions return a nonzero value if \fIx\fP is a NaN value, +functions return a non-zero value if \fIx\fP is a NaN value, and 0 otherwise. The diff --git a/man3/flockfile.3 b/man3/flockfile.3 index a2b79b297..2cbe84ca3 100644 --- a/man3/flockfile.3 +++ b/man3/flockfile.3 @@ -48,7 +48,7 @@ The stdio functions are thread-safe. This is achieved by assigning to each .I FILE -object a lockcount and (if the lockcount is nonzero) +object a lockcount and (if the lockcount is non-zero) an owning thread. For each library call, these functions wait until the .I FILE @@ -110,7 +110,7 @@ the lockcount otherwise. The .BR ftrylockfile () function returns zero for success -(the lock was obtained), and nonzero for failure. +(the lock was obtained), and non-zero for failure. .SH ERRORS None. .SH "CONFORMING TO" diff --git a/man3/fnmatch.3 b/man3/fnmatch.3 index 9e83d49a6..cd46b361b 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 nonzero value if there is an error. +if there is no match or another non-zero value if there is an error. .SH "CONFORMING TO" POSIX.2. The diff --git a/man3/fpathconf.3 b/man3/fpathconf.3 index a4dac730e..3a18b89db 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 nonzero if the +returns non-zero 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 nonzero if accessing filenames longer than +returns non-zero 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 nonzero if special character processing can be disabled, where +returns non-zero if special character processing can be disabled, where .I fd or .I path diff --git a/man3/fpclassify.3 b/man3/fpclassify.3 index a0251ab16..3904cd00b 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 .BI isfinite( x ) -returns a nonzero value if +returns a non-zero value if .br (fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE) .TP .BI isnormal( x ) -returns a nonzero value if +returns a non-zero value if (fpclassify(x) == FP_NORMAL) .TP .BI isnan( x ) -returns a nonzero value if +returns a non-zero value if (fpclassify(x) == FP_NAN) .TP .BI isinf( x ) @@ -103,7 +103,7 @@ C99 .SH NOTES In glibc 2.01 and earlier, .BR isinf () -returns a nonzero value (actually: 1) if +returns a non-zero value (actually: 1) if .I x is an infinity (positive or negative). (This is all that C99 requires.) diff --git a/man3/ftime.3 b/man3/ftime.3 index a050eaa30..ced6f93fe 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -54,7 +54,7 @@ Here \fItime\fP is the number of seconds since the Epoch, \fImillitm\fP is the number of milliseconds since \fItime\fP seconds since the Epoch, \fItimezone\fP is the local time zone measured in minutes of time west of Greenwich, and \fIdstflag\fP -is a flag that, if nonzero, indicates that Daylight Saving time +is a flag that, if non-zero, indicates that Daylight Saving time applies locally during the appropriate part of the year. .LP These days the contents of the \fItimezone\fP and \fIdstflag\fP diff --git a/man3/ftok.3 b/man3/ftok.3 index 0eb9f2b47..9c5f06740 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -44,7 +44,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 nonzero) to generate a +(which must be non-zero) 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 d42e38607..f4e81d83d 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 nonzero value; this +To stop the tree walk, \fIfn\fP() returns a non-zero 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 nonzero value from \fIfn\fP(). +exit out of a tree walk is to return a non-zero 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 nonzero, +If \fIfn\fP() returns non-zero, 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 nonzero value that should be used by \fIfn\fP() +then the only non-zero 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 4be0384f1..e925f4e06 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 nonzero, the +When \fImode\fP is non-zero, the .BR fwide () function first attempts to set \fIstream\fP's orientation (to wide-character oriented if \fImode\fP > 0, or diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index aa8caa370..e1d7ec22f 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -371,7 +371,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 nonzero error codes: +returns 0 if it succeeds, or one of the following non-zero error codes: .TP .B EAI_ADDRFAMILY The specified network host does not have any network addresses in the diff --git a/man3/getdate.3 b/man3/getdate.3 index 77f6738d8..58c2ed46e 100644 --- a/man3/getdate.3 +++ b/man3/getdate.3 @@ -150,7 +150,7 @@ thread-safe variant. The functionality is the same. The result is returned in the buffer pointed to by .I res -and in case of an error the return value is nonzero with the same +and in case of an error the return value is non-zero with the same values as given above for .IR getdate_err . .LP diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 6e1434a71..0b228381d 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -374,7 +374,7 @@ will point to the result on success. In case of an error or if no entry is found .I result will be NULL. -The functions return 0 on success and a nonzero error number on failure. +The functions return 0 on success and a non-zero 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 32b3b8829..9710382e7 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 user name when successful, and NULL on failure. .BR getlogin_r () -returns 0 when successful, and nonzero on failure. +returns 0 when successful, and non-zero on failure. .SH ERRORS POSIX specifies .TP diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index 36088e756..05ab5edb4 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -126,7 +126,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 nonzero error codes is returned: +On error one of the following non-zero error codes is returned: .TP .B EAI_AGAIN The name could not be resolved at this time. diff --git a/man3/getopt.3 b/man3/getopt.3 index 5761bdfb6..9b65d47c3 100644 --- a/man3/getopt.3 +++ b/man3/getopt.3 @@ -167,7 +167,7 @@ returns ':' instead of '?' 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 nonzero (which is the default), +the external variable \fIopterr\fP is non-zero (which is the default), .BR getopt () prints an error message. .PP diff --git a/man3/getrpcent.3 b/man3/getrpcent.3 index 80623be3c..0b208cf4b 100644 --- a/man3/getrpcent.3 +++ b/man3/getrpcent.3 @@ -60,7 +60,7 @@ reads the next line of the file, opening the file if necessary. opens and rewinds the file. If the .I stayopen -flag is nonzero, +flag is non-zero, the net data base will not be closed after each call to .BR getrpcent () (either directly, or indirectly through one of diff --git a/man3/glob.3 b/man3/glob.3 index 083f09bb6..9801f520d 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -226,7 +226,7 @@ or .BR stat (2). If .I errfunc -returns nonzero, or if +returns non-zero, or if .B GLOB_ERR is set, .BR glob () diff --git a/man3/hsearch.3 b/man3/hsearch.3 index b4386c8f9..aaec52c02 100644 --- a/man3/hsearch.3 +++ b/man3/hsearch.3 @@ -118,7 +118,7 @@ must be zeroed before the first call to and .BR hcreate_r () return 0 when allocation of the memory -for the hash table fails, nonzero otherwise. +for the hash table fails, non-zero otherwise. .LP .BR hsearch () returns NULL if \fIaction\fP is \fBENTER\fP and @@ -127,7 +127,7 @@ cannot be found in the hash table. .LP .BR hsearch_r () returns 0 if \fIaction\fP is \fBENTER\fP and -the hash table is full, and nonzero otherwise. +the hash table is full, and non-zero otherwise. .SH ERRORS POSIX documents .TP diff --git a/man3/ilogb.3 b/man3/ilogb.3 index 0cc8e5987..6fd3126f3 100644 --- a/man3/ilogb.3 +++ b/man3/ilogb.3 @@ -56,19 +56,19 @@ to zero and call before calling these functions. On return, if .I errno -is nonzero or +is non-zero or .I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) -is nonzero, an error has occurred. +is non-zero, an error has occurred. .LP If an error occurs and .I "(math_errhandling & MATH_ERRNO)" -is nonzero, then +is non-zero, then .I errno is set to .BR EDOM . If an error occurs and .I "(math_errhandling & MATH_ERREXCEPT)" -is nonzero, then the invalid floating-point exception is raised. +is non-zero, then the invalid floating-point exception is raised. .LP A domain error occurs when .I x diff --git a/man3/inet.3 b/man3/inet.3 index d5c073071..ff3ee52eb 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -72,7 +72,7 @@ standard numbers-and-dots notation into binary data and stores it in the structure that \fIinp\fP points to. .BR inet_aton () returns -nonzero if the address is valid, zero if not. +non-zero if the address is valid, zero if not. .PP The .BR inet_addr () diff --git a/man3/isalpha.3 b/man3/isalpha.3 index d103b0bad..45a321186 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 nonzero if the character +The values returned are non-zero 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 af27b63a5..0bd39c78c 100644 --- a/man3/iswalnum.3 +++ b/man3/iswalnum.3 @@ -53,7 +53,7 @@ to 'Z', 'a' to 'z' and the digits '0' to '9'. .SH "RETURN VALUE" The .BR iswalnum () -function returns nonzero +function returns non-zero 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 2998f55fd..8676f6b0e 100644 --- a/man3/iswalpha.3 +++ b/man3/iswalpha.3 @@ -57,7 +57,7 @@ to 'Z' and 'a' to 'z'. .SH "RETURN VALUE" The .BR iswalpha () -function returns nonzero +function returns non-zero 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 13e89ef6a..366507d8d 100644 --- a/man3/iswblank.3 +++ b/man3/iswblank.3 @@ -55,7 +55,7 @@ and the control character '\\t'. .SH "RETURN VALUE" The .BR iswblank () -function returns nonzero +function returns non-zero 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 c7b6a4043..be280c7ac 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 nonzero if \fIwc\fP is a +function returns non-zero 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 f82e72ecc..6336cb66e 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 nonzero. +function returns non-zero. Otherwise it returns zero. If \fIwc\fP is @@ -38,7 +38,7 @@ function. .SH "RETURN VALUE" The .BR iswctype () -function returns nonzero if +function returns non-zero if the \fIwc\fP has the designated property. Otherwise it returns 0. diff --git a/man3/iswdigit.3 b/man3/iswdigit.3 index 8a9d0b922..27af28097 100644 --- a/man3/iswdigit.3 +++ b/man3/iswdigit.3 @@ -56,7 +56,7 @@ contains exactly the digits '0' to '9'. .SH "RETURN VALUE" The .BR iswdigit () -function returns nonzero +function returns non-zero 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 5cb088b83..2d1344722 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 nonzero +function returns non-zero 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 60e9546db..13ac06a52 100644 --- a/man3/iswlower.3 +++ b/man3/iswlower.3 @@ -61,7 +61,7 @@ to 'z'. .SH "RETURN VALUE" The .BR iswlower () -function returns nonzero +function returns non-zero 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 64800ad0b..ab5815775 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 nonzero if \fIwc\fP is a +function returns non-zero 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 58c9d2acf..238252af8 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 nonzero +function returns non-zero 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 77c5116f4..43e050a11 100644 --- a/man3/iswspace.3 +++ b/man3/iswspace.3 @@ -43,7 +43,7 @@ and the control characters '\\f', '\\n', '\\r', '\\t', '\\v'. .SH "RETURN VALUE" The .BR iswspace () -function returns nonzero if \fIwc\fP is a wide character +function returns non-zero 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 b991a244a..4d60f4634 100644 --- a/man3/iswupper.3 +++ b/man3/iswupper.3 @@ -54,7 +54,7 @@ to 'Z'. .SH "RETURN VALUE" The .BR iswupper () -function returns nonzero if \fIwc\fP is a wide character +function returns non-zero 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 687fe157e..84556291b 100644 --- a/man3/iswxdigit.3 +++ b/man3/iswxdigit.3 @@ -48,7 +48,7 @@ to 'F', 'a' to 'f' and the digits '0' to '9'. .SH "RETURN VALUE" The .BR iswxdigit () -function returns nonzero if \fIwc\fP is a wide character +function returns non-zero 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/lgamma.3 b/man3/lgamma.3 index eedc59de7..711c66df6 100644 --- a/man3/lgamma.3 +++ b/man3/lgamma.3 @@ -92,9 +92,9 @@ to zero and call before calling these functions. On return, if .I errno -is nonzero or +is non-zero or .I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) -is nonzero, an error has occurred. +is non-zero, an error has occurred. .LP A range error occurs if .I x diff --git a/man3/logb.3 b/man3/logb.3 index e99b572a6..f610ef5c1 100644 --- a/man3/logb.3 +++ b/man3/logb.3 @@ -88,18 +88,18 @@ to zero and call before calling these functions. On return, if .I errno -is nonzero or +is non-zero or .I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) -is nonzero, an error has occurred. +is non-zero, an error has occurred. .LP If an error occurs and .I "(math_errhandling & MATH_ERRNO)" -is nonzero, then +is non-zero, then .I errno is set to .BR ERANGE . If an error occurs and .I "(math_errhandling & MATH_ERREXCEPT)" -is nonzero, then the divide-by-zero floating-point exception is raised. +is non-zero, then the divide-by-zero floating-point exception is raised. .LP A pole error occurs when .I x diff --git a/man3/longjmp.3 b/man3/longjmp.3 index c7bd88661..303eeac2c 100644 --- a/man3/longjmp.3 +++ b/man3/longjmp.3 @@ -73,7 +73,7 @@ its \fIenv\fP argument. If the .BR sigsetjmp (3) call that set this -\fIenv\fP used a nonzero \fIsavesigs\fP flag, +\fIenv\fP used a non-zero \fIsavesigs\fP flag, .BR siglongjmp () also restores the set of blocked signals. diff --git a/man3/lrint.3 b/man3/lrint.3 index c81a64a59..3de530c22 100644 --- a/man3/lrint.3 +++ b/man3/lrint.3 @@ -65,7 +65,7 @@ The rounded integer value. .B EDOM The magnitude of \fIx\fP is too large and .I "(math_errhandling & MATH_ERRNO)" -is nonzero. +is non-zero. .SH "CONFORMING TO" C99. .SH "SEE ALSO" diff --git a/man3/lround.3 b/man3/lround.3 index f49252742..b4893c660 100644 --- a/man3/lround.3 +++ b/man3/lround.3 @@ -71,7 +71,7 @@ that of their arguments. .B EDOM The magnitude of \fIx\fP is too large and .I "(math_errhandling & MATH_ERRNO)" -is nonzero. +is non-zero. .SH "CONFORMING TO" C99. .SH "SEE ALSO" diff --git a/man3/lsearch.3 b/man3/lsearch.3 index 9f0476571..41551d5cc 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 -nonzero otherwise. +non-zero otherwise. .PP If .BR lsearch () diff --git a/man3/malloc.3 b/man3/malloc.3 index 8b20fdc2d..104cbd12a 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -218,7 +218,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 nonzero +Using a non-zero .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/mblen.3 b/man3/mblen.3 index af6a3db66..9839ba19d 100644 --- a/man3/mblen.3 +++ b/man3/mblen.3 @@ -51,7 +51,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 nonzero if the encoding has nontrivial shift state, or zero if the +returns non-zero 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 c90a8fa75..e57d94300 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 nonzero if \fI*ps\fP is an initial state, or if +returns non-zero 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 28928596f..cd355c8d7 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 nonzero if the encoding has nontrivial shift state, or zero if the +returns non-zero 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 nonzero if the encoding +returns non-zero 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 8f4516c9f..3741be8e3 100644 --- a/man3/on_exit.3 +++ b/man3/on_exit.3 @@ -58,7 +58,7 @@ and the \fIarg\fP argument from The .BR on_exit () function returns the value 0 if successful; otherwise -it returns a nonzero value. +it returns a non-zero 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 a108b2e74..ec9a2da08 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -246,7 +246,7 @@ For .B x and .B X -conversions, a nonzero result has the string `0x' (or `0X' for +conversions, a non-zero result has the string `0x' (or `0X' for .B X conversions) prepended to it. For @@ -367,7 +367,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 nonzero first digit) specifying +An optional decimal digit string (with non-zero 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 @@ -685,7 +685,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 nonzero but otherwise unspecified for normalized numbers. +numbers, and non-zero but otherwise unspecified for normalized numbers. .TP .B c If no diff --git a/man3/ptsname.3 b/man3/ptsname.3 index 3ce4e3d9c..7435c66d4 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 nonzero value is returned +On failure, a non-zero value is returned and .I errno is set to indicate the error. diff --git a/man3/putenv.3 b/man3/putenv.3 index a20f22dcd..331a7ff52 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 nonzero if an error occurs. +or non-zero if an error occurs. .SH ERRORS .TP .B ENOMEM diff --git a/man3/putgrent.3 b/man3/putgrent.3 index c137b7c3e..522716bbc 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 nonzero value on error. +The function returns zero on success, and a non-zero 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 1db2af0f1..d3eccb9c3 100644 --- a/man3/raise.3 +++ b/man3/raise.3 @@ -42,7 +42,7 @@ It is equivalent to .BI "kill(getpid(), " "sig" ); .RE .SH "RETURN VALUE" -0 on success, nonzero for failure. +0 on success, non-zero for failure. .SH "CONFORMING TO" C89, C99. .SH "SEE ALSO" diff --git a/man3/rcmd.3 b/man3/rcmd.3 index 350b1c1eb..fb0a5195d 100644 --- a/man3/rcmd.3 +++ b/man3/rcmd.3 @@ -116,7 +116,7 @@ and .IR stdout . If .I fd2p -is nonzero, then an auxiliary channel to a control +is non-zero, 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 320ea8474..3d94ab327 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -220,7 +220,7 @@ If both .I errbuf and .I errbuf_size -are nonzero, +are non-zero, .I errbuf is filled in with the first .I "errbuf_size \- 1" diff --git a/man3/rexec.3 b/man3/rexec.3 index f7faa108e..687459f33 100644 --- a/man3/rexec.3 +++ b/man3/rexec.3 @@ -90,7 +90,7 @@ and .IR stdout . If .I fd2p -is nonzero, then an auxiliary channel to a control +is non-zero, 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 e2439a3f1..5052e6eb5 100644 --- a/man3/rpc.3 +++ b/man3/rpc.3 @@ -791,7 +791,7 @@ is zero, the service is not registered with the service. If .I protocol -is nonzero, then a mapping of the triple +is non-zero, then a mapping of the triple .RI [ prognum , versnum , protocol\fR] to \fB\%xprt\->xp_port\fR diff --git a/man3/rpmatch.3 b/man3/rpmatch.3 index 0b5ee1a4b..555de8378 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 nonzero. +It is incorrect to only test if the return value is non-zero. .BR rpmatch () can fail for any of the reasons that diff --git a/man3/rtnetlink.3 b/man3/rtnetlink.3 index e0997bcc9..581e2409d 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 nonzero. +is non-zero. .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 1c5ab5ee5..82c9ad3ee 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -66,7 +66,7 @@ The function scans the directory \fIdir\fP, calling \fIfilter\fP() on each directory entry. Entries for which -\fIfilter\fP() returns nonzero are stored in strings allocated via +\fIfilter\fP() returns non-zero 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 830be872c..c80ec30a2 100644 --- a/man3/sem_init.3 +++ b/man3/sem_init.3 @@ -57,7 +57,7 @@ the heap). If .I pshared -is nonzero, then the semaphore is shared between processes, +is non-zero, 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 nonzero, +is non-zero, 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 13072a481..0b5da31b9 100644 --- a/man3/setaliasent.3 +++ b/man3/setaliasent.3 @@ -87,7 +87,7 @@ The functions .BR getaliasent_r () and .BR getaliasbyname_r () -return a nonzero value on error. +return a non-zero 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 91816c9c2..b3fe22927 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 can return any value on failure, but returns nonzero when +It can return any value on failure, but returns non-zero when .I mode is invalid or the request cannot be honored. It may set diff --git a/man3/setenv.3 b/man3/setenv.3 index da17912c7..136a59378 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 nonzero; +its value is changed to \fIvalue\fP if \fIoverwrite\fP is non-zero; 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 d0c77be9c..4943e00ae 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -60,7 +60,7 @@ returns. .BR sigsetjmp () is similar to .BR setjmp (). -If \fIsavesigs\fP is nonzero, +If \fIsavesigs\fP is non-zero, the set of blocked signals is saved in \fIenv\fP and will be restored if a .BR siglongjmp (3) @@ -70,7 +70,7 @@ is later performed with this \fIenv\fP. and .BR sigsetjmp () return 0 if returning directly, and -nonzero when returning from +non-zero when returning from .BR longjmp (3) using the saved context. .SH "CONFORMING TO" diff --git a/man3/signbit.3 b/man3/signbit.3 index e98c29207..2ba5b3554 100644 --- a/man3/signbit.3 +++ b/man3/signbit.3 @@ -13,7 +13,7 @@ Compile with \fI\-std=c99\fP; link with \fI\-lm\fP. .SH DESCRIPTION .BR signbit () is a generic macro which can work on all real floating-point types. -It returns a nonzero value if the value of +It returns a non-zero value if the value of .I x has its sign bit set. .PP @@ -25,7 +25,7 @@ The comparison .IR "-0.0 < 0.0" is false, but .IR "signbit(\-0.0)" -will return a nonzero value. +will return a non-zero value. .SH "CONFORMING TO" C99. This function is defined in IEC 559 (and the appendix with diff --git a/man3/stdio_ext.3 b/man3/stdio_ext.3 index e962eb9b4..6ce28028c 100644 --- a/man3/stdio_ext.3 +++ b/man3/stdio_ext.3 @@ -68,28 +68,28 @@ or opened read-only. .LP The .BR __flbf () -function returns a nonzero value if the stream is line-buffered, +function returns a non-zero value if the stream is line-buffered, and zero otherwise. .LP The .BR __freadable () -function returns a nonzero value if the stream allows reading, +function returns a non-zero value if the stream allows reading, and zero otherwise. .LP The .BR __fwritable () -function returns a nonzero value if the stream allows writing, +function returns a non-zero value if the stream allows writing, and zero otherwise. .LP The .BR __freading () -function returns a nonzero value if the stream is read-only, or +function returns a non-zero 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 nonzero value if the stream is write-only (or +function returns a non-zero 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 2c879d7de..eaa0c9a5a 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -158,7 +158,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 nonzero value after the call. +has a non-zero 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 8a8cf56e1..f86aac155 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 nonzero value after the call. +has a non-zero 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 f6dc6d2d0..41bac04dd 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 nonzero value after the call. +has a non-zero 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 a7b3a4d6f..bfc2eedd2 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -69,7 +69,7 @@ If the value of .I command is NULL, .BR system () -returns nonzero if the shell is available, and zero if not. +returns non-zero 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 2ae954413..9a1b4da99 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -873,7 +873,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 nonzero. +Thus, \fBB57600\fP & \fBCBAUDEX\fP is non-zero. .LP .BR cfgetispeed () returns the input baud rate stored in the \fItermios\fP structure. @@ -941,7 +941,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 nonzero \fIduration\fP with +The effect of a non-zero \fIduration\fP with .BR tcsendbreak () varies. SunOS specifies a break of @@ -954,7 +954,7 @@ FreeBSD and NetBSD and HP-UX and MacOS ignore the value of .IR duration . Under Solaris and Unixware, .BR tcsendbreak () -with nonzero +with non-zero .I duration behaves like .BR tcdrain (). diff --git a/man3/tgamma.3 b/man3/tgamma.3 index 62c4c83ef..12a1ab5dc 100644 --- a/man3/tgamma.3 +++ b/man3/tgamma.3 @@ -62,9 +62,9 @@ to zero and call before calling these functions. On return, if .I errno -is nonzero or +is non-zero or .I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) -is nonzero, an error has occurred. +is non-zero, an error has occurred. .LP A range error occurs if .I x diff --git a/man3/timeradd.3 b/man3/timeradd.3 index 377972b46..d602100a8 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 (nonzero) if either field of the +returns true (non-zero) if either field of the .I timeval structure pointed to by .I tvp -contains a nonzero value. +contains a non-zero value. .BR timercmp () compares the timer values in @@ -113,13 +113,13 @@ and .I b using the comparison operator .IR CMP , -and returns true (nonzero) or false (0) depending on +and returns true (non-zero) or false (0) depending on the result of the comparison. .SH RETURN VALUE .BR timerisset () and .BR timercmp () -return true (nonzero) or false (0). +return true (non-zero) or false (0). .BR .SH ERRORS No errors are defined. diff --git a/man3/tzset.3 b/man3/tzset.3 index d1606ff8c..4e6a60b7a 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 time zone. In a SysV-like environment it will also set the variables \fItimezone\fP (seconds West of GMT) and \fIdaylight\fP (0 if this time zone does not -have any daylight saving time rules, nonzero if there is a time during +have any daylight saving time rules, non-zero 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 796396c80..031189dfc 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 nonzero, further +argument is non-zero, further .B SIGALRM signals will be sent every .I interval diff --git a/man3/wctomb.3 b/man3/wctomb.3 index e0bd265e4..7b8ca68e3 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 nonzero if the encoding has nontrivial shift state, +returns non-zero 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 nonzero if the +function returns non-zero if the encoding has nontrivial shift state, or zero if the encoding is stateless. .SH "CONFORMING TO" C99. diff --git a/man3/wctrans.3 b/man3/wctrans.3 index e79cf74fc..46a7dfb83 100644 --- a/man3/wctrans.3 +++ b/man3/wctrans.3 @@ -26,7 +26,7 @@ which can map a wide character to another wide character. Its nature is implementation-dependent, but the special value \fI(wctrans_t)\ 0\fP denotes an invalid mapping. -Nonzero \fIwctrans_t\fP +Non-zero \fIwctrans_t\fP values can be passed to the .BR towctrans (3) function to actually perform diff --git a/man3/wctype.3 b/man3/wctype.3 index 9ee15c2a9..979f99d6b 100644 --- a/man3/wctype.3 +++ b/man3/wctype.3 @@ -26,7 +26,7 @@ may not have. In other words, it represents a class of wide characters. This type's nature is implementation-dependent, but the special value \fI(wctype_t) 0\fP denotes an invalid property. -Nonzero \fBwctype_t\fP values +Non-zero \fBwctype_t\fP values can be passed to the .BR iswctype (3) function diff --git a/man3/xdr.3 b/man3/xdr.3 index 64530f692..a37d0dc68 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 nonzero. +is non-zero. This routine returns one if it succeeds, zero otherwise. .LP .nf diff --git a/man4/st.4 b/man4/st.4 index f7a7771e3..6338b7142 100644 --- a/man4/st.4 +++ b/man4/st.4 @@ -280,7 +280,7 @@ setmarks. .B MTCOMPRESSION Enable compression of tape data within the drive if .I mt_count -is nonzero and disable compression if +is non-zero and disable compression if .I mt_count is zero. This command uses the MODE page 15 supported by most DATs. @@ -333,7 +333,7 @@ Lock the tape drive door. Format the tape into one or two partitions. If .I mt_count -is nonzero, it gives the size of the first partition and the second +is non-zero, it gives the size of the first partition and the second partition contains the rest of the tape. If .I mt_count @@ -524,7 +524,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 nonzero). +defined non-zero). .TP .BR MT_ST_FAST_EOM " (Default: false)" This option causes the @@ -673,7 +673,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 nonzero, the pattern must match +If the pattern is non-zero, 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 919233cd1..0fbb5c13e 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -70,7 +70,7 @@ instead of a .SS "Locking the termios structure" The termios structure of a tty can be locked. The lock is itself -a termios structure, with nonzero bits or fields indicating a +a termios structure, with non-zero bits or fields indicating a locked value. .TP .BI "TIOCGLCKTRMIOS struct termios *" argp @@ -125,11 +125,11 @@ serial data transmission, then either a break is sent, or the function returns without doing anything. When .I arg -is nonzero, nobody knows what will happen. +is non-zero, nobody knows what will happen. (SVr4, UnixWare, Solaris, Linux treat .I "tcsendbreak(fd,arg)" -with nonzero +with non-zero .I arg like .IR "tcdrain(fd)" . @@ -141,14 +141,14 @@ times as long as done for zero .IR arg . DG/UX and AIX treat .I arg -(when nonzero) as a timeinterval measured in milliseconds. +(when non-zero) as a timeinterval measured in milliseconds. HP-UX ignores .IR arg .) .TP .BI "TCSBRKP int " arg So-called "POSIX version" of .BR TCSBRK . -It treats nonzero +It treats non-zero .I arg as a timeinterval measured in deciseconds, and does nothing when the driver does not support breaks. @@ -285,13 +285,13 @@ Set the line discipline of the tty. .BI "TIOCPKT const int *" argp Enable (when .RI * argp -is nonzero) or disable packet mode. +is non-zero) 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 nonzero control byte, +will return a packet that either contains a single non-zero control byte, or has a single byte containing zero (''\0') followed by data written on the slave side of the pty. If the first byte is not @@ -367,7 +367,7 @@ termios structure. ("Set software carrier flag") Set the CLOCAL flag in the termios structure when .RI * argp -is nonzero, and clear it otherwise. +is non-zero, and clear it otherwise. .LP If the .B CLOCAL diff --git a/man5/core.5 b/man5/core.5 index fed70b7ce..7d434fc65 100644 --- a/man5/core.5 +++ b/man5/core.5 @@ -120,7 +120,7 @@ For backward compatibility, if does not include "%p" and .I /proc/sys/kernel/core_uses_pid (see below) -is nonzero, then .PID will be appended to the core filename. +is non-zero, then .PID will be appended to the core filename. Since version 2.4, Linux has also provided a more primitive method of controlling @@ -129,7 +129,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 nonzero value, then the core dump file includes +If this file contains a non-zero value, then the core dump file includes the process ID in a name of the form .IR core.PID . .SH NOTES diff --git a/man5/elf.5 b/man5/elf.5 index f533343c1..beb17675e 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 nonzero size, but it occupies no space in the file. +may have a non-zero 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 nonzero, it represents a string table index that gives the symbol +is non-zero, 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 9c2ca51ee..608cb923b 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1199,7 +1199,7 @@ nr_dentry seems to be 0 all the time. nr_unused seems to be the number of unused dentries. age_limit is the age in seconds after which dcache entries can be reclaimed when memory is short and want_pages is -nonzero when the kernel has called shrink_dcache_pages() and the +non-zero when the kernel has called shrink_dcache_pages() and the dcache isn't pruned yet. .TP .I /proc/sys/fs/dir-notify-enable @@ -1293,7 +1293,7 @@ nr_inodes is the number of inodes the system has allocated. This can be slightly more than inode-max because Linux allocates them one page full at a time. nr_free_inodes represents the number of free inodes. -preshrink is nonzero when the nr_inodes > inode-max and the +preshrink is non-zero when the nr_inodes > inode-max and the system needs to prune the inode list instead of allocating more. .TP @@ -1321,7 +1321,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 nonzero value enables leases. +A non-zero value enables leases. .TP .IR /proc/sys/fs/mqueue " (since Linux 2.6.6)" This directory contains files @@ -1493,7 +1493,7 @@ see the man page. .TP .I /proc/sys/kernel/htab-reclaim -(PowerPC only) If this file is set to a nonzero value, +(PowerPC only) If this file is set to a non-zero value, the PowerPC htab (see kernel file .IR Documentation/powerpc/ppc_htab.txt ) @@ -1505,7 +1505,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 nonzero. +Enabled if non-zero. .TP .I /proc/sys/kernel/modprobe This file contains the path for the kernel module loader. @@ -1551,7 +1551,7 @@ and .I /proc/sys/kernel/panic gives read/write access to the kernel variable .IR panic_timeout . -If this is zero, the kernel will loop on a panic; if nonzero +If this is zero, the kernel will loop on a panic; if non-zero it indicates that the kernel should autoreboot after this number of seconds. When you use the @@ -1567,7 +1567,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 nonzero then the machine will be rebooted. +file is also non-zero then the machine will be rebooted. .TP .I /proc/sys/kernel/pid_max This file @@ -1714,7 +1714,7 @@ date behind it indicates the time the kernel was built. .IR /proc/sys/kernel/zero-paged " (PowerPC only) " This file contains a flag. -When enabled (nonzero), Linux-PPC will pre-zero pages in +When enabled (non-zero), Linux-PPC will pre-zero pages in the idle loop, possibly speeding up get_free_pages. .TP .I /proc/sys/net @@ -1765,7 +1765,7 @@ first. .TP .IR /proc/sys/vm/legacy_va_layout " (since Linux 2.6.9)" .\" The following is from Documentation/filesystems/proc.txt -If nonzero, this disable the new 32-bit memory-mapping layout; +If non-zero, this disable the new 32-bit memory-mapping layout; the kernel will use the legacy (2.4) layout for all processes. .TP .I /proc/sys/vm/overcommit_memory @@ -1784,7 +1784,7 @@ with .B MAP_NORESERVE set 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 nonzero value implies mode 1. +Under Linux 2.4 any non-zero 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 fc2d34a6d..818c27d19 100644 --- a/man7/bootparam.7 +++ b/man7/bootparam.7 @@ -327,7 +327,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 nonzero value. +to a non-zero value. This is done either by specifying .B CONFIG_PROFILE at compile time, or by giving the 'profile=' option. @@ -527,7 +527,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 nonzero value +value will allow device disconnect/reconnect if a non-zero value is used. An example usage is as follows: .IP @@ -577,11 +577,11 @@ These boards can accept an argument of the form: .IP The .I extended -value, if nonzero, indicates that extended translation for large +value, if non-zero, indicates that extended translation for large disks is enabled. The .I no_reset -value, if nonzero, tells the driver not to reset the SCSI bus when +value, if non-zero, 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 5528d824e..56294d7be 100644 --- a/man7/capabilities.7 +++ b/man7/capabilities.7 @@ -38,7 +38,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 nonzero). +processes (whose effective UID is non-zero). Privileged processes bypass all kernel permission checks, while unprivileged processes are subject to full permission checking based on the process's credentials @@ -472,14 +472,14 @@ a program, it gains all capabilities in its permitted and effective capability sets, except those masked out by the capability bounding set (i.e., .BR CAP_SETPCAP ). -.\" If a process with real UID 0, and nonzero effective UID does an +.\" If a process with real UID 0, and non-zero effective UID does an .\" exec(), then it gets all capabilities (less CAP_SETPCAP) in its .\" permitted set, and no effective capabilities This provides semantics that are the same as those provided by traditional Unix systems. .SS Effect of User ID Changes on Capabilities To preserve the traditional semantics for transitions between -0 and nonzero user IDs, +0 and non-zero 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 @@ -489,17 +489,17 @@ or similar): .IP 1. 4 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 nonzero value, +have a non-zero value, then all capabilities are cleared from the permitted and effective capability sets. .IP 2. 4 -If the effective user ID is changed from 0 to nonzero, +If the effective user ID is changed from 0 to non-zero, then all capabilities are cleared from the effective set. .IP 3. 4 -If the effective user ID is changed from nonzero to 0, +If the effective user ID is changed from non-zero to 0, then the permitted set is copied to the effective set. .IP 4. 4 -If the file system user ID is changed from 0 to nonzero (see +If the file system user ID is changed from 0 to non-zero (see .BR setfsuid (2)) then the following capabilities are cleared from the effective set: .BR CAP_CHOWN , @@ -508,13 +508,13 @@ then the following capabilities are cleared from the effective set: .BR CAP_FOWNER , and .BR CAP_FSETID . -If the file system UID is changed from nonzero to 0, +If the file system UID is changed from non-zero 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 nonzero values, it can do so using the +all of its user IDs to non-zero values, it can do so using the .BR prctl (2) .B PR_SET_KEEPCAPS operation. diff --git a/man7/icmp.7 b/man7/icmp.7 index 7e0243ae1..57ae4e086 100644 --- a/man7/icmp.7 +++ b/man7/icmp.7 @@ -57,12 +57,12 @@ The limit does not affect sending of packets needed for path MTU discovery. .TP .B icmp_echo_ignore_all -If this value is nonzero, Linux will ignore all +If this value is non-zero, Linux will ignore all .B ICMP_ECHO requests. .TP .B icmp_echo_ignore_broadcasts -If this value is nonzero, Linux will ignore all +If this value is non-zero, Linux will ignore all .B ICMP_ECHO packets sent to broadcast addresses. .TP diff --git a/man7/ip.7 b/man7/ip.7 index bf5df8eec..f26f31bb2 100644 --- a/man7/ip.7 +++ b/man7/ip.7 @@ -708,7 +708,7 @@ files or using the interface. Variables described as .I Boolean -take an integer value, with a nonzero value ("true") meaning that +take an integer value, with a non-zero value ("true") meaning that the corresponding option is enabled, and a zero value ("false") meaning that the option is disabled. .\" diff --git a/man7/mdoc.samples.7 b/man7/mdoc.samples.7 index cf4521cc6..258a2497b 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 nonzero value appears executable). +register which contains a non-zero 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 ed6bd461c..89e953719 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -224,7 +224,7 @@ QSIZE Number of bytes of data in all messages in the queue. .TP .B NOTIFY_PID -If this is nonzero, then the process with this PID has used +If this is non-zero, 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/raw.7 b/man7/raw.7 index ac3b64dba..3b42f75ee 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 nonzero destination address then +is specified and the IP header has a non-zero 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 aa585db65..644a0c8a9 100644 --- a/man7/regex.7 +++ b/man7/regex.7 @@ -238,7 +238,7 @@ RE or the beginning of a parenthesized subexpression (after a possible leading `^'). .PP Finally, there is one new type of atom, a \fIback reference\fR: -`\e' followed by a nonzero decimal digit \fId\fR +`\e' followed by a non-zero 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 a170e48d6..97117e171 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -106,7 +106,7 @@ Seeking, or calling .BR pread (2) or .BR pwrite (2) -with a nonzero position is not supported on sockets. +with a non-zero 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 c97d00171..f13491281 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -171,7 +171,7 @@ In addition, most IP sysctls also apply to TCP; see .BR ip (7). Variables described as .I Boolean -take an integer value, with a nonzero value ("true") meaning that +take an integer value, with a non-zero value ("true") meaning that the corresponding option is enabled, and a zero value ("false") meaning that the option is disabled. .\" FIXME As at Sept 2006, kernel 2.6.18-rc5, the following are @@ -795,7 +795,7 @@ is returned. .B SIOCATMARK Returns true (i.e., .I value -is nonzero) if the inbound data stream is at the urgent mark. +is non-zero) 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 069c1aed5..c843781c6 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 time zone was successfully obtained -from the user, nonzero otherwise. +from the user, non-zero otherwise. .SH ENVIRONMENT .TP \fBAWK\fP