From: Michael Kerrisk Date: Wed, 15 Jun 2005 13:32:34 +0000 (+0000) Subject: Global edit: s/nonzero/non-zero/ X-Git-Tag: man-pages-2.04~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f59a3f1941d7bdebc077e727969c732e06e0d0a7;p=thirdparty%2Fman-pages.git Global edit: s/nonzero/non-zero/ --- diff --git a/man1/time.1 b/man1/time.1 index e7a537beaf..59151d7e54 100644 --- a/man1/time.1 +++ b/man1/time.1 @@ -64,7 +64,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 "SEE ALSO" .BR times (2) .sp 2 diff --git a/man2/capget.2 b/man2/capget.2 index c516791343..7606e3723b 100644 --- a/man2/capget.2 +++ b/man2/capget.2 @@ -74,7 +74,7 @@ to _LINUX_CAPABILITY_VERSION when another version was specified. The calls refer to the capabilities of the process indicated by the pid field of .I hdr -when that is nonzero, or to the current process otherwise. +when that is non-zero, or to the current process otherwise. For details on the data, see .BR capabilities (7). diff --git a/man2/getitimer.2 b/man2/getitimer.2 index e966c8a1a7..7fa6a37151 100644 --- a/man2/getitimer.2 +++ b/man2/getitimer.2 @@ -89,7 +89,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 b03a0e86ff..cfad4a44ab 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -132,7 +132,7 @@ either this limit is at most 2 GiB, or this resource is unlimited. 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/gettimeofday.2 b/man2/gettimeofday.2 index 3adf7f6d69..f445dabc7c 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -146,7 +146,7 @@ argument, the .I tv argument is NULL and the .I tz_minuteswest -field is nonzero. In such a case it is assumed that the CMOS clock +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. No doubt it is a bad idea to use this feature. diff --git a/man2/setresuid.2 b/man2/setresuid.2 index 2dd0b46f4e..d4415ac1bf 100644 --- a/man2/setresuid.2 +++ b/man2/setresuid.2 @@ -40,7 +40,7 @@ sets the real user ID, the effective user ID, and the saved (effective) user ID of the current process. Unprivileged user processes (i.e., processes with each of -real, effective and saved user ID nonzero) may change the real, +real, effective and saved user ID non-zero) may change the real, effective and saved user ID, each to one of: the current uid, the current effective uid or the current saved uid. @@ -52,7 +52,7 @@ Completely analogously, .B setresgid sets the real, effective and saved group ID's of the current process, with the same restrictions for processes with each of -real, effective and saved user ID nonzero. +real, effective and saved user ID non-zero. .SH "RETURN VALUE" On success, zero is returned. On error, \-1 is returned, and diff --git a/man2/sysctl.2 b/man2/sysctl.2 index 06989c16d3..107b71c493 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -117,9 +117,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/man3/argz_add.3 b/man3/argz_add.3 index 544091b04f..cd94c7b6bf 100644 --- a/man3/argz_add.3 +++ b/man3/argz_add.3 @@ -67,7 +67,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 array of strings, where the strings are separated by NUL bytes. -If the length is nonzero, the last byte of the buffer must be a NUL. +If the length is non-zero, the last byte of the buffer must be a NUL. .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 02d6d9b22a..de9a795e18 100644 --- a/man3/assert_perror.3 +++ b/man3/assert_perror.3 @@ -47,7 +47,7 @@ by calling .B abort() if .I errnum -is nonzero. The message contains the filename, function name and +is non-zero. The message contains the filename, function name and line number of the macro call, and the output of .IR strerror(errnum) . .SH "RETURN VALUE" diff --git a/man3/atexit.3 b/man3/atexit.3 index 8472976cc6..488c0c3f1c 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -54,7 +54,7 @@ Upon a successful call to one of the exec functions, the registrations of all process termination functions are removed. .SH "RETURN VALUE" The \fBatexit()\fP function returns the value 0 if successful; otherwise -it returns a nonzero value. +it returns a non-zero value. .SH EXAMPLE .nf #include diff --git a/man3/clearenv.3 b/man3/clearenv.3 index f800ff47ed..2126cd7ba0 100644 --- a/man3/clearenv.3 +++ b/man3/clearenv.3 @@ -40,7 +40,7 @@ to NULL. The \fBclearenv()\fP 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 AVAILABILITY Not in libc4, libc5. In glibc since glibc 2.0. diff --git a/man3/ecvt.3 b/man3/ecvt.3 index a7671fd934..aaffd0569f 100644 --- a/man3/ecvt.3 +++ b/man3/ecvt.3 @@ -42,7 +42,7 @@ ecvt, fcvt \- convert a floating-point number to a string The \fBecvt()\fP function converts \fInumber\fP to a null-terminated string of \fIndigits\fP digits (where \fIndigits\fP is reduced to an system-specific limit determined by the precision of a double), -and returns a pointer to the string. The high-order digit is nonzero, +and returns a pointer to the string. The high-order digit is non-zero, unless .I number is zero. The low order digit is rounded. diff --git a/man3/exit.3 b/man3/exit.3 index 3ab26841fe..b8b1c9eff7 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -59,7 +59,7 @@ It is undefined what happens if one of the process termination functions calls either \fBexit()\fP or \fBlongjmp()\fP. .LP The use of EXIT_SUCCESS and EXIT_FAILURE is slightly more portable -(to non-Unix environments) than that of 0 and some nonzero value +(to non-Unix environments) than that of 0 and some non-zero value like 1 or \-1. In particular, VMS uses a different convention. .LP BSD has attempted to standardize exit codes - see the file diff --git a/man3/flockfile.3 b/man3/flockfile.3 index 91c503eefa..b0c32a3b80 100644 --- a/man3/flockfile.3 +++ b/man3/flockfile.3 @@ -35,7 +35,7 @@ flockfile, ftrylockfile, funlockfile \- lock FILE for stdio .fi .SH DESCRIPTION The stdio functions are thread-safe. This is achieved by assigning -to each FILE object a lockcount and (if the lockcount is nonzero) +to each FILE object a lockcount and (if the lockcount is non-zero) an owning thread. For each library call, these functions wait until the FILE object is no longer locked by a different thread, then lock it, do the @@ -75,7 +75,7 @@ owns *\fIfilehandle\fP, and it obtains ownership and increments the lockcount otherwise. .SH "RETURN VALUE" The \fBftrylockfile()\fP 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 AVAILABILITY diff --git a/man3/fpathconf.3 b/man3/fpathconf.3 index 2ce1e47130..5369f0d22f 100644 --- a/man3/fpathconf.3 +++ b/man3/fpathconf.3 @@ -112,7 +112,7 @@ must refer to a FIFO. 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 .I filedes @@ -123,13 +123,13 @@ directory. 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 filedes or .I path diff --git a/man3/fpclassify.3 b/man3/fpclassify.3 index b35e1378f0..9eb4dc568e 100644 --- a/man3/fpclassify.3 +++ b/man3/fpclassify.3 @@ -54,20 +54,20 @@ 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 ) -returns a nonzero value if +returns a non-zero value if (fpclassify(x) == FP_INFINITE) .SH NOTE On systems conforming to BSD 4.3, diff --git a/man3/ftime.3 b/man3/ftime.3 index 77a6c4efc3..b244c0fc6a 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 8d049cf018..0accb621b5 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 .B key_t type System V IPC key, suitable for use with .BR msgget (2), diff --git a/man3/getdate.3 b/man3/getdate.3 index 5743ffaa9c..cb3f358754 100644 --- a/man3/getdate.3 +++ b/man3/getdate.3 @@ -136,7 +136,7 @@ and the static buffer to return the result in, glibc provides a 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 1ec28fa162..9452281d5a 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -259,7 +259,7 @@ Glibc2 also has reentrant versions .B gethostbyname_r() and .BR gethostbyname2_r() . -These return 0 on success and nonzero on error. The result of the call +These return 0 on success and non-zero on error. The result of the call is now stored in the struct with address .IR ret . After the call, diff --git a/man3/getlogin.3 b/man3/getlogin.3 index aed1b80e73..959cc2dc77 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -73,7 +73,7 @@ precisely because the user can set \fBLOGNAME\fP arbitrarily. .SH "RETURN VALUE" \fBgetlogin\fP returns a pointer to the user name when successful, and NULL on failure. -\fBgetlogin_r\fP returns 0 when successful, and nonzero on failure. +\fBgetlogin_r\fP returns 0 when successful, and non-zero on failure. .SH ERRORS POSIX specifies .TP diff --git a/man3/getopt.3 b/man3/getopt.3 index fce030c803..10e1736f25 100644 --- a/man3/getopt.3 +++ b/man3/getopt.3 @@ -137,7 +137,7 @@ of \fIoptstring\fP is a colon (':'), then \fBgetopt()\fP 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), \fBgetopt()\fP prints an error message. .PP The diff --git a/man3/hsearch.3 b/man3/hsearch.3 index b7d6e47d15..29f8099aa0 100644 --- a/man3/hsearch.3 +++ b/man3/hsearch.3 @@ -99,14 +99,14 @@ must be zeroed before the first call to .BR hcreate_r() . .SH "RETURN VALUE" \fBhcreate()\fP and \fBhcreate_r()\fP return 0 when allocation of the memory -for the hash table fails, nonzero otherwise. +for the hash table fails, non-zero otherwise. .LP \fBhsearch()\fP returns \fBNULL\fP 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. .LP \fBhsearch_r()\fP 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/inet.3 b/man3/inet.3 index eaee847ba2..5bc9bb2e7c 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -60,7 +60,7 @@ inet_netof \- Internet address manipulation routines \fBinet_aton()\fP converts the Internet host address \fIcp\fP from the standard numbers-and-dots notation into binary data and stores it in the structure that \fIinp\fP points to. \fBinet_aton\fP returns -nonzero if the address is valid, zero if not. +non-zero if the address is valid, zero if not. .PP The \fBinet_addr()\fP function converts the Internet host address \fIcp\fP from numbers-and-dots notation into binary data in network diff --git a/man3/isalpha.3 b/man3/isalpha.3 index fc06223091..5d2e90ace4 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -136,7 +136,7 @@ checks for a hexadecimal digits, i.e. one of .nl .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/longjmp.3 b/man3/longjmp.3 index db3ae71e0f..81c54d2bb8 100644 --- a/man3/longjmp.3 +++ b/man3/longjmp.3 @@ -47,7 +47,7 @@ is invoked with a second argument of 0, 1 will be returned instead. .P \fBsiglongjmp()\fP is similar to \fBlongjmp()\fP except for the type of its \fIenv\fP argument. If the \fBsigsetjmp()\fP call that set this -\fIenv\fP used a nonzero \fIsavesigs\fP flag, \fBsiglongjmp()\fP also +\fIenv\fP used a non-zero \fIsavesigs\fP flag, \fBsiglongjmp()\fP also restores the set of blocked signals. .SH "RETURN VALUE" These functions never return. diff --git a/man3/printf.3 b/man3/printf.3 index f96630a37f..ba42efe851 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -309,7 +309,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 (or right, if the left-adjustment flag has been given). @@ -613,7 +613,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/raise.3 b/man3/raise.3 index 5b76c27478..e7ec7839d8 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" ANSI\-C .SH "SEE ALSO" diff --git a/man3/setbuf.3 b/man3/setbuf.3 index 5c58a43dbc..f1d61dd366 100644 --- a/man3/setbuf.3 +++ b/man3/setbuf.3 @@ -139,7 +139,7 @@ setvbuf(stream, (char *)NULL, _IOLBF, 0); The function .B 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 honoured. It may set .I errno diff --git a/man3/setjmp.3 b/man3/setjmp.3 index 9f70960348..8af82068ba 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -42,7 +42,7 @@ and interrupts encountered in a low-level subroutine of a program. later use by \fBlongjmp()\fP. The stack context will be invalidated if the function which called \fBsetjmp()\fP returns. .P -\fBsigsetjmp()\fP is similar to \fBsetjmp()\fP. If \fIsavesigs\fP is nonzero, +\fBsigsetjmp()\fP is similar to \fBsetjmp()\fP. If \fIsavesigs\fP is non-zero, the set of blocked signals is saved in \fIenv\fP and will be restored if a \fBsiglongjmp()\fP is later performed with this \fIenv\fP. .SH "RETURN VALUE" diff --git a/man3/signbit.3 b/man3/signbit.3 index e07a3da367..e212403a57 100644 --- a/man3/signbit.3 +++ b/man3/signbit.3 @@ -12,12 +12,12 @@ signbit \- test sign of a real floating point number Compile with -std=c99; link with \-lm. .SH DESCRIPTION `signbit' is a generic macro which can work on all real floating-point -types. It returns a nonzero value if the value of X has its sign +types. It returns a non-zero value if the value of X has its sign bit set. .PP This is not the same as `x < 0.0', because IEEE 754 floating point allows zero to be signed. The comparison `-0.0 < 0.0' is false, -but `signbit (-0.0)' will return a nonzero value. +but `signbit (-0.0)' will return a non-zero value. .SH "CONFORMING TO" This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854). diff --git a/man3/stdio_ext.3 b/man3/stdio_ext.3 index d8cb85de63..f996b4761d 100644 --- a/man3/stdio_ext.3 +++ b/man3/stdio_ext.3 @@ -65,28 +65,28 @@ or opened read-only. .LP The .B __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 .B __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 .B __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 .B __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 .B __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/strerror.3 b/man3/strerror.3 index 5b9f2d0c34..a7a7ed5710 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -60,7 +60,7 @@ of length The \fBstrerror()\fP function returns the appropriate error description string, or an unknown error message if the error code is unknown. The value of \fIerrno\fP is not changed for a successful call, and is -set to a nonzero value upon error. +set to a non-zero value upon error. The \fBstrerror_r()\fP function returns 0 on success and \-1 on failure, setting \fIerrno\fP. diff --git a/man3/system.3 b/man3/system.3 index 795c53ff53..fa05da78ac 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -68,7 +68,7 @@ If the value of is .BR 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 2d97d049d0..87add92a52 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -566,7 +566,7 @@ is used to terminate the connection. 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 .B cfgetispeed() returns the input baud rate stored in the \fBtermios\fP structure. @@ -611,7 +611,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 \fBtcsendbreak\fP varies. +The effect of a non-zero \fIduration\fP with \fBtcsendbreak\fP varies. SunOS specifies a break of .IB duration * N seconds, where \fIN\fP is at least 0.25, and not more than 0.5. @@ -622,7 +622,7 @@ FreeBSD and NetBSD and HP-UX and MacOS ignore the value of .IR duration . Under Solaris and Unixware, .B tcsendbreak -with nonzero +with non-zero .I duration behaves like .BR tcdrain . diff --git a/man3/tzset.3 b/man3/tzset.3 index fee6e73042..990e4e471a 100644 --- a/man3/tzset.3 +++ b/man3/tzset.3 @@ -47,7 +47,7 @@ TZ environment variable. 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 savings time rules, nonzero if there is a time during +have any daylight savings time rules, non-zero if there is a time during the year when daylight savings time applies). .PP If the TZ variable does not appear in the environment, the \fItzname\fP diff --git a/man3/ualarm.3 b/man3/ualarm.3 index 19e57b86fa..6b3fa6d9bd 100644 --- a/man3/ualarm.3 +++ b/man3/ualarm.3 @@ -52,7 +52,7 @@ Unless caught or ignored, this signal will terminate the process. .LP If the .I interval -argument is nonzero, further SIGALRM signals will be sent every +argument is non-zero, further SIGALRM signals will be sent every .I interval microseconds after the first. .SH "RETURN VALUE" diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index 1f32c38d4f..a481b8bf54 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -68,7 +68,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 @@ -119,11 +119,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)" . @@ -135,12 +135,12 @@ 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 TCSBRK. It treats nonzero +So-called "POSIX version" of TCSBRK. It treats non-zero .I arg as a timeinterval measured in deciseconds, and does nothing when the driver does not support breaks. @@ -263,11 +263,11 @@ 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 pseudotty only (and will return 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 zero byte followed by data written on the slave side of the pty. If the first byte is not TIOCPKT_DATA (0), it is an OR of one or more of the following bits: @@ -337,7 +337,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 CLOCAL flag for a line is off, the hardware carrier detect (DCD) signal is significant, and an diff --git a/man5/proc.5 b/man5/proc.5 index 69d01aa0ca..65bc47c80d 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -903,7 +903,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 @@ -994,7 +994,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 pageful 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 @@ -1181,7 +1181,7 @@ each time the system hits the idle loop. .I /proc/sys/kernel/l2cr (PowerPC only) This file contains a flag that controls the L2 cache of G3 processor -boards. If 0, the cache is disabled. Enabled if nonzero. +boards. If 0, the cache is disabled. Enabled if non-zero. .TP .I /proc/sys/kernel/modprobe This file @@ -1220,7 +1220,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 software watchdog device driver, the recommended setting is 60. @@ -1402,7 +1402,7 @@ In mode 0, calls of .BR mmap (2) with 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 e196ebb56f..7df2a8bb6b 100644 --- a/man7/bootparam.7 +++ b/man7/bootparam.7 @@ -297,7 +297,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. This is done either by specifying CONFIG_PROFILE at +to a non-zero value. This is done either by specifying CONFIG_PROFILE at compile time, or by giving the `profile=' option. Now the value that .I prof_shift diff --git a/man8/tzselect.8 b/man8/tzselect.8 index cf13072c36..24ba9329de 100644 --- a/man8/tzselect.8 +++ b/man8/tzselect.8 @@ -35,8 +35,8 @@ descriptive comments. \fBTZDIR\fP\fI/\fP\fITZ\fP Time zone data file for time zone \fITZ\fP. .SH "EXIT STATUS" -The exit status is zero if a time zone was successfully obtained from the user, -nonzero otherwise. +The exit status is zero if a time zone was successfully obtained +from the user, non-zero otherwise. .SH "SEE ALSO" .BR tzfile (5), .BR zdump (8),