From 99cab2166065bc31c0710bc64b0aceae12716d31 Mon Sep 17 00:00:00 2001 From: Faraz Vahedi Date: Wed, 18 Dec 2024 01:55:07 +0330 Subject: [PATCH] Bug 282306: Update spelling of "non-zero" to "nonzero" for C23 compliance Note: This update excludes changes to contrib, cddl, and man pages originating outside of FreeBSD itself. Signed-off-by: Faraz Vahedi --- lib/msun/man/feclearexcept.3 | 2 +- lib/msun/man/fegetenv.3 | 2 +- lib/msun/man/fegetround.3 | 2 +- lib/msun/man/fenv.3 | 2 +- lib/msun/man/fmod.3 | 2 +- lib/msun/man/signbit.3 | 2 +- share/man/man3/bitstring.3 | 4 ++-- share/man/man3/pthread_cleanup_pop.3 | 2 +- share/man/man3/pthread_equal.3 | 2 +- share/man/man3/pthread_testcancel.3 | 2 +- share/man/man3/stats.3 | 4 ++-- share/man/man4/aio.4 | 2 +- share/man/man4/bnxt.4 | 2 +- share/man/man4/bpf.4 | 6 +++--- share/man/man4/bridge.4 | 2 +- share/man/man4/cc_cdg.4 | 2 +- share/man/man4/ciss.4 | 4 ++-- share/man/man4/crypto.4 | 2 +- share/man/man4/cxgbe.4 | 2 +- share/man/man4/cxgbev.4 | 2 +- share/man/man4/cyapa.4 | 4 ++-- share/man/man4/ddb.4 | 4 ++-- share/man/man4/dtrace_sched.4 | 2 +- share/man/man4/em.4 | 4 ++-- share/man/man4/fdc.4 | 2 +- share/man/man4/geom.4 | 4 ++-- share/man/man4/gre.4 | 2 +- share/man/man4/hwpmc.4 | 2 +- share/man/man4/icmp.4 | 2 +- share/man/man4/iflib.4 | 8 ++++---- share/man/man4/igmp.4 | 12 ++++++------ share/man/man4/iic.4 | 4 ++-- share/man/man4/ip.4 | 4 ++-- share/man/man4/ip6.4 | 2 +- share/man/man4/ipsec.4 | 12 ++++++------ share/man/man4/isp.4 | 2 +- share/man/man4/ltc430x.4 | 2 +- share/man/man4/mac_portacl.4 | 2 +- share/man/man4/man4.arm/imx_spi.4 | 2 +- share/man/man4/man4.arm/imx_wdog.4 | 2 +- share/man/man4/man4.i386/pbio.4 | 2 +- share/man/man4/mld.4 | 2 +- share/man/man4/mod_cc.4 | 2 +- share/man/man4/mxge.4 | 2 +- share/man/man4/net80211.4 | 20 ++++++++++---------- share/man/man4/netgdb.4 | 2 +- share/man/man4/ng_ether.4 | 2 +- share/man/man4/ng_l2cap.4 | 2 +- share/man/man4/ng_l2tp.4 | 10 +++++----- share/man/man4/ng_nat.4 | 2 +- share/man/man4/ng_pppoe.4 | 2 +- share/man/man4/ng_tag.4 | 6 +++--- share/man/man4/ng_tty.4 | 2 +- share/man/man4/ow_temp.4 | 2 +- share/man/man4/pci.4 | 2 +- share/man/man4/pf.4 | 2 +- share/man/man4/pvscsi.4 | 4 ++-- share/man/man4/random.4 | 4 ++-- share/man/man4/re.4 | 2 +- share/man/man4/rl.4 | 2 +- share/man/man4/safe.4 | 2 +- share/man/man4/sis.4 | 2 +- share/man/man4/sk.4 | 2 +- share/man/man4/snd_hda.4 | 4 ++-- share/man/man4/snd_uaudio.4 | 2 +- share/man/man4/spigen.4 | 2 +- share/man/man4/tap.4 | 6 +++--- share/man/man4/targ.4 | 4 ++-- share/man/man4/tcp.4 | 12 ++++++------ share/man/man4/termios.4 | 2 +- share/man/man4/tty.4 | 2 +- share/man/man4/tun.4 | 6 +++--- share/man/man4/tws.4 | 2 +- share/man/man4/vt.4 | 2 +- share/man/man4/watchdog.4 | 4 ++-- share/man/man4/witness.4 | 4 ++-- share/man/man5/elf.5 | 4 ++-- share/man/man5/link.5 | 2 +- share/man/man5/quota.user.5 | 10 +++++----- share/man/man8/rc.8 | 2 +- share/man/man8/rc.subr.8 | 6 +++--- share/man/man9/BUF_LOCK.9 | 2 +- share/man/man9/BUF_TIMELOCK.9 | 2 +- share/man/man9/BUS_SETUP_INTR.9 | 2 +- share/man/man9/PHOLD.9 | 4 ++-- share/man/man9/SDT.9 | 2 +- share/man/man9/VOP_READ_PGCACHE.9 | 2 +- share/man/man9/VOP_SETEXTATTR.9 | 2 +- share/man/man9/bitset.9 | 4 ++-- share/man/man9/bus_child_present.9 | 2 +- share/man/man9/bus_dma.9 | 2 +- share/man/man9/bus_space.9 | 10 +++++----- share/man/man9/callout.9 | 6 +++--- share/man/man9/condvar.9 | 2 +- share/man/man9/config_intrhook.9 | 2 +- share/man/man9/cpuset.9 | 2 +- share/man/man9/cr_bsd_visible.9 | 2 +- share/man/man9/cr_canseejailproc.9 | 2 +- share/man/man9/cr_canseeothergids.9 | 2 +- share/man/man9/cr_canseeotheruids.9 | 2 +- share/man/man9/crypto_buffer.9 | 2 +- share/man/man9/crypto_session.9 | 4 ++-- share/man/man9/devfs_set_cdevpriv.9 | 2 +- share/man/man9/device_delete_children.9 | 2 +- share/man/man9/fail.9 | 2 +- share/man/man9/getenv.9 | 8 ++++---- share/man/man9/hardclock.9 | 2 +- share/man/man9/ieee80211_output.9 | 2 +- share/man/man9/intr_event.9 | 2 +- share/man/man9/kern_yield.9 | 2 +- share/man/man9/khelp.9 | 2 +- share/man/man9/kmsan.9 | 2 +- share/man/man9/kproc.9 | 2 +- share/man/man9/kthread.9 | 2 +- share/man/man9/lock.9 | 4 ++-- share/man/man9/malloc.9 | 2 +- share/man/man9/mbuf.9 | 2 +- share/man/man9/mod_cc.9 | 4 ++-- share/man/man9/module.9 | 4 ++-- share/man/man9/mutex.9 | 8 ++++---- share/man/man9/osd.9 | 2 +- share/man/man9/p_candebug.9 | 4 ++-- share/man/man9/pci.9 | 4 ++-- share/man/man9/pmap_kextract.9 | 2 +- share/man/man9/psignal.9 | 2 +- share/man/man9/random.9 | 2 +- share/man/man9/ratecheck.9 | 4 ++-- share/man/man9/rmlock.9 | 4 ++-- share/man/man9/runqueue.9 | 2 +- share/man/man9/rwlock.9 | 6 +++--- share/man/man9/sbuf.9 | 8 ++++---- share/man/man9/sema.9 | 4 ++-- share/man/man9/signal.9 | 4 ++-- share/man/man9/sleep.9 | 6 +++--- share/man/man9/sleepqueue.9 | 2 +- share/man/man9/socket.9 | 2 +- share/man/man9/stack.9 | 4 ++-- share/man/man9/swi.9 | 2 +- share/man/man9/sx.9 | 8 ++++---- share/man/man9/sysctl_add_oid.9 | 4 ++-- share/man/man9/taskqueue.9 | 2 +- share/man/man9/tcp_functions.9 | 2 +- share/man/man9/usbdi.9 | 4 ++-- share/man/man9/vaccess.9 | 2 +- share/man/man9/vaccess_acl_nfs4.9 | 2 +- share/man/man9/vaccess_acl_posix1e.9 | 2 +- share/man/man9/vget.9 | 2 +- share/man/man9/vm_map_find.9 | 2 +- share/man/man9/vm_page_alloc.9 | 2 +- share/man/man9/vm_page_busy.9 | 10 +++++----- share/man/man9/vrele.9 | 2 +- 151 files changed, 253 insertions(+), 253 deletions(-) diff --git a/lib/msun/man/feclearexcept.3 b/lib/msun/man/feclearexcept.3 index e3bb2fd8842fc3..932312de77d052 100644 --- a/lib/msun/man/feclearexcept.3 +++ b/lib/msun/man/feclearexcept.3 @@ -110,7 +110,7 @@ The .Fn feraiseexcept , and .Fn fesetexceptflag -functions return 0 upon success, and non-zero otherwise. +functions return 0 upon success, and nonzero otherwise. The .Fn fetestexcept function returns the bitwise OR of the values of the current exception diff --git a/lib/msun/man/fegetenv.3 b/lib/msun/man/fegetenv.3 index 9e77149a6f04e2..eabd8d567db563 100644 --- a/lib/msun/man/fegetenv.3 +++ b/lib/msun/man/fegetenv.3 @@ -86,7 +86,7 @@ The .Fn fesetenv , and .Fn feupdateenv -functions return 0 if they succeed, and non-zero otherwise. +functions return 0 if they succeed, and nonzero otherwise. .Sh SEE ALSO .Xr feclearexcept 3 , .Xr fenv 3 , diff --git a/lib/msun/man/fegetround.3 b/lib/msun/man/fegetround.3 index b41ef93322a138..f6441ebda1f010 100644 --- a/lib/msun/man/fegetround.3 +++ b/lib/msun/man/fegetround.3 @@ -58,7 +58,7 @@ The routine returns the current rounding mode. The .Fn fesetround -function returns 0 on success and non-zero otherwise; +function returns 0 on success and nonzero otherwise; however, the present implementation always succeeds. .Sh SEE ALSO .Xr fenv 3 , diff --git a/lib/msun/man/fenv.3 b/lib/msun/man/fenv.3 index ee67ef29bae14d..208eda5d51858d 100644 --- a/lib/msun/man/fenv.3 +++ b/lib/msun/man/fenv.3 @@ -92,7 +92,7 @@ representing the five standard floating-point exceptions. A divide-by-zero exception occurs when the .Em exact result of a computation is infinite (according to the limit definition). -For example, dividing a finite non-zero number by zero or computing +For example, dividing a finite nonzero number by zero or computing .Fn log 0 raises a divide-by-zero exception. .It Dv FE_INEXACT diff --git a/lib/msun/man/fmod.3 b/lib/msun/man/fmod.3 index a7a5ae86df5820..82770328d82f65 100644 --- a/lib/msun/man/fmod.3 +++ b/lib/msun/man/fmod.3 @@ -54,7 +54,7 @@ functions compute the floating-point remainder of .Sh RETURN VALUES If .Fa y -is non-zero, the +is nonzero, the .Fn fmod , .Fn fmodf , and diff --git a/lib/msun/man/signbit.3 b/lib/msun/man/signbit.3 index b90c338b1c0186..bfa80a10b0a252 100644 --- a/lib/msun/man/signbit.3 +++ b/lib/msun/man/signbit.3 @@ -39,7 +39,7 @@ The .Fn signbit macro takes an argument of .Fa x -and returns non-zero if the value of its sign is negative, otherwise 0. +and returns nonzero if the value of its sign is negative, otherwise 0. .Sh SEE ALSO .Xr fpclassify 3 , .Xr math 3 diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3 index 07558bd41ec38e..ac0a0a682d1798 100644 --- a/share/man/man3/bitstring.3 +++ b/share/man/man3/bitstring.3 @@ -186,7 +186,7 @@ in the bit string The .Fn bit_test function -evaluates to non-zero if the zero-based numbered bit +evaluates to nonzero if the zero-based numbered bit .Fa bit of bit string .Fa name @@ -195,7 +195,7 @@ is set, and zero otherwise. The .Fn bit_ntest function -evaluates to non-zero if the zero-based numbered bits from +evaluates to nonzero if the zero-based numbered bits from .Fa start through .Fa stop diff --git a/share/man/man3/pthread_cleanup_pop.3 b/share/man/man3/pthread_cleanup_pop.3 index 2747624b0947d9..a4d5bfe0a9e372 100644 --- a/share/man/man3/pthread_cleanup_pop.3 +++ b/share/man/man3/pthread_cleanup_pop.3 @@ -43,7 +43,7 @@ The function pops the top cleanup routine off of the current threads cleanup routine stack, and, if .Fa execute -is non-zero, it will execute the function. +is nonzero, it will execute the function. If there is no cleanup routine then .Fn pthread_cleanup_pop diff --git a/share/man/man3/pthread_equal.3 b/share/man/man3/pthread_equal.3 index 6ef861bc016ee6..a33cac64819c26 100644 --- a/share/man/man3/pthread_equal.3 +++ b/share/man/man3/pthread_equal.3 @@ -50,7 +50,7 @@ and .Sh RETURN VALUES The .Fn pthread_equal -function will return non-zero if the thread IDs +function will return nonzero if the thread IDs .Fa t1 and .Fa t2 diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3 index 2d2bb06c48e2da..4674b7cacf1332 100644 --- a/share/man/man3/pthread_testcancel.3 +++ b/share/man/man3/pthread_testcancel.3 @@ -121,7 +121,7 @@ The function is a cancellation point if it is potentially blocking, such as when the .Fa nevents -argument is non-zero. +argument is nonzero. .It Fn mq_receive .It Fn mq_send .It Fn mq_timedreceive diff --git a/share/man/man3/stats.3 b/share/man/man3/stats.3 index 7fe1fa613deff4..4db5c12dd3102a 100644 --- a/share/man/man3/stats.3 +++ b/share/man/man3/stats.3 @@ -505,7 +505,7 @@ which is a callback used to interact with the subsystem's stats template sample rates list. Subsystems can optionally specify the sysctl's .Fa arg2 -as non-zero, which causes a zero-initialized allocation of arg2-sized contextual +as nonzero, which causes a zero-initialized allocation of arg2-sized contextual memory to be heap-allocated and passed in to all subsystem callbacks made during the operation of .Fn stats_tpl_sample_rates . @@ -657,7 +657,7 @@ struct member to provide useful metadata about the iteration: .Dv SB_IT_NULLVOI and .Dv SB_IT_NULLVOISTAT . -Returning a non-zero value from the callback function terminates the iteration. +Returning a nonzero value from the callback function terminates the iteration. .Pp The .Fn stats_blob_tostr diff --git a/share/man/man4/aio.4 b/share/man/man4/aio.4 index 21332a3b10375d..718b2bcdb867f2 100644 --- a/share/man/man4/aio.4 +++ b/share/man/man4/aio.4 @@ -50,7 +50,7 @@ and disabled by default. They can be enabled by setting the .Va vfs.aio.enable_unsafe -sysctl node to a non-zero value. +sysctl node to a nonzero value. .Pp Asynchronous I/O operations on sockets, raw disk devices, diff --git a/share/man/man4/bnxt.4 b/share/man/man4/bnxt.4 index 0900a11cecea74..478a7988bf4898 100644 --- a/share/man/man4/bnxt.4 +++ b/share/man/man4/bnxt.4 @@ -159,7 +159,7 @@ Normally, both frames that have a matching VLAN tag and frames that have no VLAN tag are accepted. Defaults to 0. .It Va dev.bnxt.X.vlan_strip -When non-zero the NIC strips VLAN tags on receive. +When nonzero the NIC strips VLAN tags on receive. Defaults to 0. .It Va dev.bnxt.X.rx_stall Enable buffering rather than dropping frames when there are no available host diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4 index 8082f6eac39a1b..e674c0508e6585 100644 --- a/share/man/man4/bpf.4 +++ b/share/man/man4/bpf.4 @@ -677,7 +677,7 @@ Returns the address associated with the interface. .It Dv FIONBIO .Pq Li int Sets or clears non-blocking I/O. -If arg is non-zero, then doing a +If arg is nonzero, then doing a .Xr read 2 when no data is available will return -1 and .Va errno @@ -689,7 +689,7 @@ Note: setting this overrides the timeout set by .It Dv FIOASYNC .Pq Li int Enables or disables async I/O. -When enabled (arg is non-zero), the process or process group specified by +When enabled (arg is nonzero), the process or process group specified by .Dv FIOSETOWN will start receiving .Dv SIGIO 's @@ -986,7 +986,7 @@ compare the accumulator against a constant .Pq Dv BPF_K or the index register .Pq Dv BPF_X . -If the result is true (or non-zero), +If the result is true (or nonzero), the true branch is taken, otherwise the false branch is taken. Jump offsets are encoded in 8 bits so the longest jump is 256 instructions. However, the jump always diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4 index 31a0ce43a26366..55f945074e86ab 100644 --- a/share/man/man4/bridge.4 +++ b/share/man/man4/bridge.4 @@ -94,7 +94,7 @@ If .Xr sysctl 8 node .Va net.link.bridge.inherit_mac -has a non-zero value, the newly created bridge will inherit the MAC +has a nonzero value, the newly created bridge will inherit the MAC address from its first member instead of choosing a random link-level address. This will provide more predictable bridge MAC addresses without any diff --git a/share/man/man4/cc_cdg.4 b/share/man/man4/cc_cdg.4 index b75cc76626aadd..1e5e4575284e57 100644 --- a/share/man/man4/cc_cdg.4 +++ b/share/man/man4/cc_cdg.4 @@ -81,7 +81,7 @@ Number of consecutive delay-gradient based congestion episodes to hold the window backoff for loss-based CC compatibility. Default is 5. .It Va alpha_inc -If non-zero, this enables an experimental mode where CDG's window increase +If nonzero, this enables an experimental mode where CDG's window increase factor (alpha) is increased by 1 MSS every .Va alpha_inc RTTs during congestion avoidance mode. diff --git a/share/man/man4/ciss.4 b/share/man/man4/ciss.4 index 28d6556ecd859a..44e024e516b0ba 100644 --- a/share/man/man4/ciss.4 +++ b/share/man/man4/ciss.4 @@ -73,7 +73,7 @@ provided that they are exported by the controller firmware and are not marked as being masked. Masked devices can be exposed by setting the .Va hw.ciss.expose_hidden_physical -tunable to non-zero at boot time. +tunable to nonzero at boot time. Direct Access devices (such as disk drives) are only exposed as .Xr pass 4 @@ -85,7 +85,7 @@ The problem which adapter freezes with the message .Dq ADAPTER HEARTBEAT FAILED might be solved by updating the firmware and/or setting the .Va hw.ciss.nop_message_heartbeat -tunable to non-zero at boot time. +tunable to nonzero at boot time. .Sh HARDWARE Controllers supported by the .Nm diff --git a/share/man/man4/crypto.4 b/share/man/man4/crypto.4 index b1423752718eb0..cc0241a650ca08 100644 --- a/share/man/man4/crypto.4 +++ b/share/man/man4/crypto.4 @@ -216,7 +216,7 @@ for future encryption or hashing requests. .\" .Nx .\" extension. .Pp -For non-zero privacy algorithms, the privacy algorithm +For nonzero privacy algorithms, the privacy algorithm must be specified in .Fa sessp-\*[Gt]cipher , the key length in diff --git a/share/man/man4/cxgbe.4 b/share/man/man4/cxgbe.4 index bfba202d1fec58..ff2136e053d44f 100644 --- a/share/man/man4/cxgbe.4 +++ b/share/man/man4/cxgbe.4 @@ -265,7 +265,7 @@ A value of 2 would ensure that the Ethernet payload (usually the IP header) is at a 4 byte aligned address. 0-7 are all valid values. .It Va hw.cxgbe.fl_pad -A non-zero value ensures that writes from the hardware to a receive buffer are +A nonzero value ensures that writes from the hardware to a receive buffer are padded up to the specified boundary. The default is -1 which lets the driver pick a pad boundary. 0 disables trailer padding completely. diff --git a/share/man/man4/cxgbev.4 b/share/man/man4/cxgbev.4 index 4ce67aeda0c371..ca9963353f9e43 100644 --- a/share/man/man4/cxgbev.4 +++ b/share/man/man4/cxgbev.4 @@ -228,7 +228,7 @@ The default value of 2 ensures that the Ethernet payload (usually the IP header) is at a 4 byte aligned address. 0-7 are all valid values. .It Va hw.cxgbe.fl_pad -A non-zero value ensures that writes from the hardware to a receive buffer are +A nonzero value ensures that writes from the hardware to a receive buffer are padded up to the specified boundary. The default is -1 which lets the driver pick a pad boundary. 0 disables trailer padding completely. diff --git a/share/man/man4/cyapa.4 b/share/man/man4/cyapa.4 index d79878427df78d..450370bbe41fbc 100644 --- a/share/man/man4/cyapa.4 +++ b/share/man/man4/cyapa.4 @@ -156,10 +156,10 @@ the default is 15. .It Va debug.cyapa_thumbarea_percent Size of bottom thumb area in percent, the default is 15. .It Va debug.cyapa_debug -Setting this to a non-zero value enables debug output to console and syslog, +Setting this to a nonzero value enables debug output to console and syslog, the default is 0. .It Va debug.cyapa_reset -Setting this to a non-zero value reinitializes the device. +Setting this to a nonzero value reinitializes the device. The sysctl resets to zero immediately. .El .Sh FILES diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index b3fc3231f6b432..885a94bc34c96b 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -80,7 +80,7 @@ The debugger is also invoked on kernel if the .Va debug.debugger_on_panic .Xr sysctl 8 -MIB variable is set non-zero, +MIB variable is set nonzero, which is the default unless the .Dv KDB_UNATTENDED @@ -94,7 +94,7 @@ This variable has a default value of .Dv 0 , and has no effect if .Va debug.debugger_on_panic -is already set non-zero. +is already set nonzero. .Pp The current location is called .Va dot . diff --git a/share/man/man4/dtrace_sched.4 b/share/man/man4/dtrace_sched.4 index b085ffe43e3c59..d3aa3ccec235f4 100644 --- a/share/man/man4/dtrace_sched.4 +++ b/share/man/man4/dtrace_sched.4 @@ -87,7 +87,7 @@ queue. Its first two arguments are the thread and corresponding process. The third argument is currently always .Dv NULL . -The fourth argument is a boolean value that is non-zero if the thread is +The fourth argument is a boolean value that is nonzero if the thread is enqueued at the beginning of its run queue slot, and zero if the thread is instead enqueued at the end. .Pp diff --git a/share/man/man4/em.4 b/share/man/man4/em.4 index 0e9c08560545aa..83f07e070e6855 100644 --- a/share/man/man4/em.4 +++ b/share/man/man4/em.4 @@ -258,7 +258,7 @@ being enabled. .It Va hw.em.rx_abs_int_delay If .Va hw.em.rx_int_delay -is non-zero, this tunable limits the maximum delay in which a receive +is nonzero, this tunable limits the maximum delay in which a receive interrupt is generated. .It Va hw.em.tx_int_delay This value delays the generation of transmit interrupts in units of @@ -267,7 +267,7 @@ The default value is 64. .It Va hw.em.tx_abs_int_delay If .Va hw.em.tx_int_delay -is non-zero, this tunable limits the maximum delay in which a transmit +is nonzero, this tunable limits the maximum delay in which a transmit interrupt is generated. .It Va hw.em.max_interrupt_rate Maximum interrupts per second. diff --git a/share/man/man4/fdc.4 b/share/man/man4/fdc.4 index 929baf3a234bf5..9ce1241eda3032 100644 --- a/share/man/man4/fdc.4 +++ b/share/man/man4/fdc.4 @@ -335,7 +335,7 @@ Print status registers. .It Dv 0x20 Print detailed status registers when interrupts complete. Print the source code line number close to the source of a -non-zero return from a thread worker operation. +nonzero return from a thread worker operation. .It Dv 0x40 Print when the disk appears to be lost. Print cylinder, head, sector, and sector shift information diff --git a/share/man/man4/geom.4 b/share/man/man4/geom.4 index 18ecf7e5f8525d..eb64f98dcd71e3 100644 --- a/share/man/man4/geom.4 +++ b/share/man/man4/geom.4 @@ -349,8 +349,8 @@ From this it also follows that changing the size of open geoms can only be done with their cooperation. .Pp Finally: the spoiling only happens when the write count goes from -zero to non-zero and the retasting happens only when the write count goes -from non-zero to zero. +zero to nonzero and the retasting happens only when the write count goes +from nonzero to zero. .It Em CONFIGURE is the process where the administrator issues instructions for a particular class to instantiate itself. diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index 7f46e54e120795..7ab41608ae3fe1 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -207,7 +207,7 @@ as this would be a loop. The kernel must be set to forward datagrams by setting the .Va net.inet.ip.forwarding .Xr sysctl 8 -variable to non-zero. +variable to nonzero. .Pp By default, .Nm diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4 index 54a251dcca76cb..916f8914dd6bab 100644 --- a/share/man/man4/hwpmc.4 +++ b/share/man/man4/hwpmc.4 @@ -457,7 +457,7 @@ The default is 64. The number of entries in the per-CPU ring buffer used during sampling. The default is 512. .It Va security.bsd.unprivileged_syspmcs Pq boolean, read-write -If set to non-zero, allow unprivileged processes to allocate system-wide +If set to nonzero, allow unprivileged processes to allocate system-wide PMCs. The default value is 0. .It Va security.bsd.unprivileged_proc_debug Pq boolean, read-write diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4 index c8c92a794e2447..d3bd7dd05975eb 100644 --- a/share/man/man4/icmp.4 +++ b/share/man/man4/icmp.4 @@ -206,7 +206,7 @@ Defaults to false. .Pq Vt "unsigned integer" When .Va maskrepl -is set and this value is non-zero, +is set and this value is nonzero, it will be used instead of the real address mask when the system replies to an ICMP Address Mask Request packet. Defaults to 0. diff --git a/share/man/man4/iflib.4 b/share/man/man4/iflib.4 index 0114263e6ca277..a37acc9a6f4a37 100644 --- a/share/man/man4/iflib.4 +++ b/share/man/man4/iflib.4 @@ -62,7 +62,7 @@ controllers. Requests that RX and TX queues not be paired on the same core. If this is zero or not set, an RX and TX queue pair will be assigned to each core. -When set to a non-zero value, TX queues are assigned to cores following the +When set to a nonzero value, TX queues are assigned to cores following the last RX queue. .El .Pp @@ -78,7 +78,7 @@ task servicing the TX ring. This ensures that whenever there is a pending transmission, the transmit ring is being serviced. This results in higher transmit throughput. -If set to a non-zero value, task returns immediately and the transmit +If set to a nonzero value, task returns immediately and the transmit ring is serviced by a different task. This returns control to the caller faster and under high receive load, may result in fewer dropped RX frames. @@ -91,7 +91,7 @@ There are also some global sysctls which can change behaviour for all drivers, and may be changed at any time. .Bl -tag -width indent .It Va net.iflib.min_tx_latency -If this is set to a non-zero value, iflib will avoid any attempt to combine +If this is set to a nonzero value, iflib will avoid any attempt to combine multiple transmits, and notify the hardware as quickly as possible of new descriptors. This will lower the maximum throughput, but will also lower transmit latency. @@ -99,7 +99,7 @@ This will lower the maximum throughput, but will also lower transmit latency. Some NICs allow processing completed transmit descriptors in batches. Doing so usually increases the transmit throughput by reducing the number of transmit interrupts. -Setting this to a non-zero value will disable the use of this feature. +Setting this to a nonzero value will disable the use of this feature. .El .Pp These diff --git a/share/man/man4/igmp.4 b/share/man/man4/igmp.4 index c395be0f2a5386..6d60f39f8db376 100644 --- a/share/man/man4/igmp.4 +++ b/share/man/man4/igmp.4 @@ -84,25 +84,25 @@ This variable controls the default version of IGMP to be used on all links. This sysctl is normally set to 3 by default. .\" .It net.inet.igmp.legacysupp -If this variable is non-zero, then IGMP v1 and v2 membership reports +If this variable is nonzero, then IGMP v1 and v2 membership reports received on a link will be allowed to suppress the IGMP v3 state-change reports which would otherwise be issued by this host. This sysctl is normally enabled by default. .\" .It net.inet.igmp.v2enable -If this variable is non-zero, then IGMP v2 membership queries will be +If this variable is nonzero, then IGMP v2 membership queries will be processed by this host, and backwards compatibility will be enabled until the v2 'Old Querier Present' timer expires. This sysctl is normally enabled by default. .\" .It net.inet.igmp.v1enable -If this variable is non-zero, then IGMP v1 membership queries will be +If this variable is nonzero, then IGMP v1 membership queries will be processed by this host, and backwards compatibility will be enabled until the v1 'Old Querier Present' timer expires. This sysctl is normally enabled by default. .\" .It net.inet.igmp.sendlocal -If this variable is non-zero, then IGMP state-changes for groups in +If this variable is nonzero, then IGMP state-changes for groups in the 224.0.0.0/24 link-scope prefix will be issued. This behaviour is recommended if deploying .Fx @@ -111,12 +111,12 @@ to mitigate multicast propagation throughout the network. This sysctl is normally enabled by default. .\" .It net.inet.igmp.sendra -If this variable is non-zero, then IGMP v2 and v3 reports will contain +If this variable is nonzero, then IGMP v2 and v3 reports will contain the IP Router Alert option. This sysctl is normally enabled by default. .\" .It net.inet.igmp.recvifkludge -If this variable is non-zero, then received IGMP reports which contain +If this variable is nonzero, then received IGMP reports which contain 0.0.0.0 as their source will be rewritten to contain the subnet address. This is useful when there are hosts on-link which have not yet been configured with a primary IPv4 address. diff --git a/share/man/man4/iic.4 b/share/man/man4/iic.4 index ddabb073c0927c..7e99b08292ad6c 100644 --- a/share/man/man4/iic.4 +++ b/share/man/man4/iic.4 @@ -101,7 +101,7 @@ element is the number of bytes to write. The .Va last element is a boolean flag. -It must be zero when additional read commands will follow, or non-zero if this +It must be zero when additional read commands will follow, or nonzero if this is the last command. The .Va buf @@ -122,7 +122,7 @@ element is the number of bytes to read. The .Va last element is a boolean flag. -It must be zero when additional read commands will follow, or non-zero if this +It must be zero when additional read commands will follow, or nonzero if this is the last command. The .Va buf diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index c52715a4338048..724d8389e6d338 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -585,7 +585,7 @@ should be set to the index of a particular multicast-capable interface if the host is multihomed. If .Va imr_ifindex -is non-zero, value of +is nonzero, value of .Va imr_interface is ignored. Otherwise, if @@ -792,7 +792,7 @@ packets, and only incoming packets destined for that protocol are received. If .Fa proto -is non-zero, that protocol number will be used on outgoing packets +is nonzero, that protocol number will be used on outgoing packets and to filter incoming packets. .Pp Outgoing packets automatically have an diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4 index ce756854a47dfb..4d1730f3fa4863 100644 --- a/share/man/man4/ip6.4 +++ b/share/man/man4/ip6.4 @@ -547,7 +547,7 @@ The ICMPv6 messages not passed to raw sockets include echo, timestamp, and address mask requests. If .Ar proto -is non-zero, only packets with this protocol will be passed to the +is nonzero, only packets with this protocol will be passed to the socket. .Pp IPv6 fragments are also not passed to application sockets until diff --git a/share/man/man4/ipsec.4 b/share/man/man4/ipsec.4 index 96a10dfb7700cb..f7fca991b234f4 100644 --- a/share/man/man4/ipsec.4 +++ b/share/man/man4/ipsec.4 @@ -246,11 +246,11 @@ for tweaking the kernel's IPsec behavior: The variables are interpreted as follows: .Bl -tag -width 6n .It Li ipsec.ah_cleartos -If set to non-zero, the kernel clears the type-of-service field in the IPv4 header +If set to nonzero, the kernel clears the type-of-service field in the IPv4 header during AH authentication data computation. This variable is used to get current systems to inter-operate with devices that implement RFC1826 AH. -It should be set to non-zero +It should be set to nonzero (clear the type-of-service field) for RFC2402 conformance. .It Li ipsec.ah_offsetmask @@ -271,7 +271,7 @@ If set to 0, the DF bit on the outer IPv4 header will be cleared while outer one. The variable is supplied to conform to RFC2401 chapter 6.1. .It Li ipsec.ecn -If set to non-zero, IPv4 IPsec tunnel encapsulation/decapsulation behavior will +If set to nonzero, IPv4 IPsec tunnel encapsulation/decapsulation behavior will be friendly to ECN (explicit congestion notification), as documented in @@ -279,12 +279,12 @@ as documented in .Xr gif 4 talks more about the behavior. .It Li ipsec.debug -If set to non-zero, debug messages will be generated via +If set to nonzero, debug messages will be generated via .Xr syslog 3 . .It Li ipsec.natt_cksum_policy Controls how the kernel handles TCP and UDP checksums when ESP in UDP encapsulation is used for IPsec transport mode. -If set to a non-zero value, the kernel fully recomputes checksums for +If set to a nonzero value, the kernel fully recomputes checksums for inbound TCP segments and UDP datagrams after they are decapsulated and decrypted. If set to 0 and original addresses were configured for corresponding SA @@ -295,7 +295,7 @@ If addresses were not configured, the checksums are ignored. Enables strict policy checking for inbound packets. By default, inbound security policies check that packets handled by IPsec have been decrypted and authenticated. -If this variable is set to a non-zero value, each packet handled by IPsec +If this variable is set to a nonzero value, each packet handled by IPsec is checked against the history of IPsec security associations. The IPsec security protocol, mode, and SA addresses must match. .El diff --git a/share/man/man4/isp.4 b/share/man/man4/isp.4 index 17c83a2e46d9b0..d43deecf423fee 100644 --- a/share/man/man4/isp.4 +++ b/share/man/man4/isp.4 @@ -186,7 +186,7 @@ A hint to override or set the Initiator ID or Loop ID. For Fibre Channel cards in Local Loop topologies it is .Ar strongly -recommended that you set this value to non-zero. +recommended that you set this value to nonzero. .It Va hint.isp. Ns Ar N Ns Va .role A hint to define default role for isp instance (0 -- none, 1 -- target, 2 -- initiator, 3 -- both). diff --git a/share/man/man4/ltc430x.4 b/share/man/man4/ltc430x.4 index 91a0fe5d35bc34..43040294e1b444 100644 --- a/share/man/man4/ltc430x.4 +++ b/share/man/man4/ltc430x.4 @@ -126,7 +126,7 @@ register 2. Whether to disconnect all downstream busses from the upstream bus when idle. If set to zero, the most recently used downstream bus is left connected to the upstream bus after IO completes. -Any non-zero value causes all downstream busses to be disconnected when idle. +Any nonzero value causes all downstream busses to be disconnected when idle. This hint is optional; when missing, the driver behaves as if it were zero. .El .Pp diff --git a/share/man/man4/mac_portacl.4 b/share/man/man4/mac_portacl.4 index ca7be679aa7029..edaed5e222fc78 100644 --- a/share/man/man4/mac_portacl.4 +++ b/share/man/man4/mac_portacl.4 @@ -107,7 +107,7 @@ if the .Xr sysctl 8 variable .Va security.mac.portacl.suser_exempt -is set to a non-zero value. +is set to a nonzero value. .Ss Runtime Configuration The following .Xr sysctl 8 diff --git a/share/man/man4/man4.arm/imx_spi.4 b/share/man/man4/man4.arm/imx_spi.4 index e7555ed20d9442..896a25d3d79b02 100644 --- a/share/man/man4/man4.arm/imx_spi.4 +++ b/share/man/man4/man4.arm/imx_spi.4 @@ -72,7 +72,7 @@ and as tunables: .Bl -tag -width indent .It Va dev.imx_spi.%d.debug -Output debugging info when non-zero. +Output debugging info when nonzero. A value of 1 displays information about bus transfers, 2 adds information about bus clock frequency and chip select activity, and 3 adds information about interrupt handling. diff --git a/share/man/man4/man4.arm/imx_wdog.4 b/share/man/man4/man4.arm/imx_wdog.4 index 4b993e1d066b26..8104868d4995e6 100644 --- a/share/man/man4/man4.arm/imx_wdog.4 +++ b/share/man/man4/man4.arm/imx_wdog.4 @@ -52,7 +52,7 @@ support for the watchdog timer present on NXP i.MX5 and i.MX6 processors. The i.MX watchdog hardware supports programmable timeouts ranging from 0.5 to 128 seconds, in half-second increments. Once activated, the watchdog hardware cannot be deactivated, but the -timeout period can be changed to any valid non-zero value. +timeout period can be changed to any valid nonzero value. .Pp At power-on, a special 16-second .Sq power-down timer diff --git a/share/man/man4/man4.i386/pbio.4 b/share/man/man4/man4.i386/pbio.4 index 927ac46c82098e..6e23efe74e621a 100644 --- a/share/man/man4/man4.i386/pbio.4 +++ b/share/man/man4/man4.i386/pbio.4 @@ -127,7 +127,7 @@ calls are supported: .Bl -tag -width ".Dv PBIO_SETIPACE" .It Dv PBIO_SETDIFF accepts a pointer to an integer as the third argument, -and sets the driver for differential input if the integer is non-zero. +and sets the driver for differential input if the integer is nonzero. The input pace speed determines the periodic interval the driver will use to examine the port for a changed value. .It Dv PBIO_GETDIFF diff --git a/share/man/man4/mld.4 b/share/man/man4/mld.4 index 539138d86f5f5f..d209871e28ad11 100644 --- a/share/man/man4/mld.4 +++ b/share/man/man4/mld.4 @@ -80,7 +80,7 @@ If more than one GSR query is received within this threshold, it will be dropped, to mitigate the potential for DoS. .\" .It net.inet6.mld.v1enable -If this variable is non-zero, then MLDv1 membership queries (and host +If this variable is nonzero, then MLDv1 membership queries (and host reports) will be processed by this host, and backwards compatibility will be enabled until the v1 'Older Version Querier Present' timer expires. This sysctl is normally enabled by default. diff --git a/share/man/man4/mod_cc.4 b/share/man/man4/mod_cc.4 index f17c6100ce237c..4f033b43711e33 100644 --- a/share/man/man4/mod_cc.4 +++ b/share/man/man4/mod_cc.4 @@ -97,7 +97,7 @@ response to an ECN congestion signal. Refer to individual congestion control man pages to determine if they implement support for ABE and for configuration details. .It Va abe_frlossreduce -If non-zero, apply standard beta instead of ABE-beta during ECN-signalled +If nonzero, apply standard beta instead of ABE-beta during ECN-signalled congestion recovery episodes if loss also needs to be repaired. .It Va hystartplusplus.bblogs This boolean controls if black box logging will be done for hystart++ events. diff --git a/share/man/man4/mxge.4 b/share/man/man4/mxge.4 index 85cd79a4c90eb2..fe6b2b8e2569c2 100644 --- a/share/man/man4/mxge.4 +++ b/share/man/man4/mxge.4 @@ -109,7 +109,7 @@ The default value is 30. This value determines whether or not the driver may omit doing a PIO read in the interrupt handler which ensures that the interrupt line has been deasserted when using xPIC interrupts. -A non-zero value +A nonzero value may result in lower CPU overhead, however it may also result in spurious interrupts. The default value is 0. diff --git a/share/man/man4/net80211.4 b/share/man/man4/net80211.4 index 912a6c3147cfad..dc0a38f62cae7c 100644 --- a/share/man/man4/net80211.4 +++ b/share/man/man4/net80211.4 @@ -159,7 +159,7 @@ Normally packets sent between stations associated to the same access point are delivered without going through system layers that do packet filtering; when AP bridging is disabled packets are passed up the system to be forwarded using some other mechanism. -This value will be non-zero when AP bridging is enabled and otherwise zero. +This value will be nonzero when AP bridging is enabled and otherwise zero. .It Dv IEEE80211_IOC_APPIE Return an application information element via .Va i_data . @@ -197,7 +197,7 @@ Return the time between Beacon frames (in TU) in .It Dv IEEE80211_IOC_BGSCAN Return whether background scanning is enabled in .Va i_val . -When this value is non-zero and operating in station mode +When this value is nonzero and operating in station mode the station will periodically leave the current channel and scan for neighboring stations. See also @@ -235,7 +235,7 @@ bssid, if any, that has been configured. .It Dv IEEE80211_IOC_BURST Return whether or not packet bursting is enabled in .Va i_val . -If this value is non-zero then the system will try to send packets closely +If this value is nonzero then the system will try to send packets closely spaced to improve throughput. .It Dv IEEE80211_IOC_CHANINFO Return the set of available channels via @@ -258,7 +258,7 @@ instead. .It Dv IEEE80211_IOC_COUNTERMEASURES Return whether TKIP Countermeasures are enabled in .Va i_val . -This value will be non-zero when Countermeasures are enabled and +This value will be nonzero when Countermeasures are enabled and otherwise zero. .It Dv IEEE80211_IOC_CURCHAN Return information for the current channel via @@ -307,7 +307,7 @@ Return, in .Va i_val , whether unencrypted packets transmit/received should be discarded. This value will be zero if unencrypted packets will be accepted and -non-zero if they are to be discarded. +nonzero if they are to be discarded. .It Dv IEEE80211_IOC_DTIM_PERIOD Return the period (in beacon intervals) between DTIM events in .Va i_val . @@ -343,7 +343,7 @@ whether SSID hiding/cloaking is enabled. SSID hiding is only meaningful when operating as an access point. When this is enabled Beacon frames do not include the SSID and ProbeRequest frames are not answered unless they include the AP's SSID. -This value will be non-zero when SSID hiding is enabled and otherwise zero. +This value will be nonzero when SSID hiding is enabled and otherwise zero. .It Dv IEEE80211_IOC_HTCOMPAT Return, in .Va i_val , @@ -476,7 +476,7 @@ Return the current MLME setting for PRIVACY in .Va i_val . When PRIVACY is enabled all data packets must be encrypted. This value will be zero if PRIVACY is disabled and -non-zero when PRIVACY is enabled. +nonzero when PRIVACY is enabled. .It Dv IEEE80211_IOC_PROTMODE Return the current 802.11g protection mode in .Va i_val . @@ -494,12 +494,12 @@ and Return whether ``pure 11g'' mode is enabled in .Va i_val . This setting is meaningful only for access point operation; -when non-zero, 802.11b stations will not be allowed to associate. +when nonzero, 802.11b stations will not be allowed to associate. .It Dv IEEE80211_IOC_PUREN Return whether ``pure 11n'' mode is enabled in .Va i_val . This setting is meaningful only for access point operation; -when non-zero, legacy (non-11n capable) stations will not be +when nonzero, legacy (non-11n capable) stations will not be allowed to associate. .It Dv IEEE80211_IOC_REGDOMAIN Return the regulatory state in the buffer pointed to by @@ -652,7 +652,7 @@ Return the number of the WEP key used for transmission in .It Dv IEEE80211_IOC_WME Return whether 802.11e/WME/WMM support is enabled in .Va i_val . -This value will be non-zero when support is enabled and otherwise zero. +This value will be nonzero when support is enabled and otherwise zero. .It Dv IEEE80211_IOC_WME_CWMIN Return the WME CWmin setting (log2) for the specified Access Class (AC) in .Va i_val . diff --git a/share/man/man4/netgdb.4 b/share/man/man4/netgdb.4 index a86431fa129f1e..b03ceb51c4f20c 100644 --- a/share/man/man4/netgdb.4 +++ b/share/man/man4/netgdb.4 @@ -124,7 +124,7 @@ and .It Va debug.gdb.netgdb.debug Control debug message verbosity. Debug messages are disabled by default. -They may be enabled by setting the variable to a non-zero value. +They may be enabled by setting the variable to a nonzero value. .El .Sh SEE ALSO .Xr ddb 4 , diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4 index 79c30ca7788ea0..c92cdf738b281a 100644 --- a/share/man/man4/ng_ether.4 +++ b/share/man/man4/ng_ether.4 @@ -143,7 +143,7 @@ system call. Enable or disable promiscuous mode. This message includes a single 32 bit integer flag that enables or disables promiscuous mode on the interface. -Any non-zero value enables promiscuous mode. +Any nonzero value enables promiscuous mode. .It Dv NGM_ETHER_GET_PROMISC Pq Ic getpromisc Get the current value of the node's promiscuous flag. The returned value is always either one or zero. diff --git a/share/man/man4/ng_l2cap.4 b/share/man/man4/ng_l2cap.4 index 0fa3901a1ce527..532195076aac21 100644 --- a/share/man/man4/ng_l2cap.4 +++ b/share/man/man4/ng_l2cap.4 @@ -295,7 +295,7 @@ Requests the disconnection of the channel. Input parameter is the CID representing the local channel endpoint. Output parameter is Result. Result -is zero if an L2CAP Disconnect Response is received, otherwise a non-zero value +is zero if an L2CAP Disconnect Response is received, otherwise a nonzero value is returned. Once disconnection has been requested, no process will be able to successfully read or write from the CID. diff --git a/share/man/man4/ng_l2tp.4 b/share/man/man4/ng_l2tp.4 index becde35e2f1b7d..78e06bf7369828 100644 --- a/share/man/man4/ng_l2tp.4 +++ b/share/man/man4/ng_l2tp.4 @@ -138,13 +138,13 @@ field different from are handled. If .Va match_id -is non-zero, they will be dropped; otherwise, they will be dropped -only if the tunnel ID is non-zero. +is nonzero, they will be dropped; otherwise, they will be dropped +only if the tunnel ID is nonzero. Typically .Va tunnel_id is set to the local tunnel ID as soon as it is known and .Va match_id -is set to non-zero after receipt of the SCCRP or SCCCN control message. +is set to nonzero after receipt of the SCCRP or SCCCN control message. .Pp The peer's tunnel ID should be set in .Va peer_id @@ -160,7 +160,7 @@ AVP received from the peer. The default value for this field is one; zero is an invalid value. As long as .Va enabled -is non-zero, this value may not be decreased. +is nonzero, this value may not be decreased. .Pp The .Va rexmit_max @@ -222,7 +222,7 @@ on incoming packets. .Pp If .Va control_dseq -is non-zero, then the setting of +is nonzero, then the setting of .Va enable_dseq will never change except by another .Dv NGM_L2TP_SET_SESS_CONFIG diff --git a/share/man/man4/ng_nat.4 b/share/man/man4/ng_nat.4 index 20042db7a1af0a..f9aa65fe47c141 100644 --- a/share/man/man4/ng_nat.4 +++ b/share/man/man4/ng_nat.4 @@ -315,7 +315,7 @@ is zero, then default aliasing address (set by .Dv NGM_NAT_SET_IPADDR ) is used. Connections can also be restricted to be accepted only -from specific external machines by using non-zero +from specific external machines by using nonzero .Va remote_addr and/or .Va remote_port . diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4 index 5b5f0dd64de28b..7e41b9826d6e87 100644 --- a/share/man/man4/ng_pppoe.4 +++ b/share/man/man4/ng_pppoe.4 @@ -326,7 +326,7 @@ class of service with following variable. .Bl -tag -width indent .It Va net.graph.pppoe.lcp_pcp: 0..7 (default: 0) -Set it to non-zero value to be used by parent network interface driver +Set it to nonzero value to be used by parent network interface driver like .Xr vlan 4 .El diff --git a/share/man/man4/ng_tag.4 b/share/man/man4/ng_tag.4 index 58e736c1e00fdf..481fd3b361f0b1 100644 --- a/share/man/man4/ng_tag.4 +++ b/share/man/man4/ng_tag.4 @@ -68,7 +68,7 @@ and values. Upon match, if specified .Va tag_len -is non-zero, +is nonzero, .Va tag_data of tag is checked to be identical to that specified in the hook structure. Packets with matched tags are forwarded to @@ -146,7 +146,7 @@ and respectively. If .Va strip -flag is non-zero, then found tag is deleted from list of packet tags. +flag is nonzero, then found tag is deleted from list of packet tags. .It Dv NGM_TAG_GET_HOOKIN Pq Ic gethookin This command takes an ASCII string argument, the hook name, and returns the corresponding @@ -321,7 +321,7 @@ node type was implemented in .Sh AUTHORS .An Vadim Goncharov Aq Mt vadimnuclight@tpu.ru .Sh BUGS -For manipulating any tags with data payload (that is, all tags with non-zero +For manipulating any tags with data payload (that is, all tags with nonzero .Va tag_len ) one should care about non-portable machine-dependent representation of tags on the low level as byte stream. diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4 index 85ab98430d8052..e3259efe8f48c6 100644 --- a/share/man/man4/ng_tty.4 +++ b/share/man/man4/ng_tty.4 @@ -66,7 +66,7 @@ The node supports an optional .Dq hot character . If the driver can not deliver data directly to the tty bypass hook then each character is input one at a time. -If set to non-zero and bypass mode is unavailable, incoming +If set to nonzero and bypass mode is unavailable, incoming data from the tty device is queued until this character is seen. This avoids sending lots of mbufs containing a small number of bytes, but introduces potentially infinite latency. diff --git a/share/man/man4/ow_temp.4 b/share/man/man4/ow_temp.4 index aa92a12103a8bc..bbc61ae7e70b0b 100644 --- a/share/man/man4/ow_temp.4 +++ b/share/man/man4/ow_temp.4 @@ -78,7 +78,7 @@ This type of error is very rare. .It reading_interval The time, in ticks, between successive reads of the sensor. .It parasite -This item is non-zero when the device is connected using its parasitic +This item is nonzero when the device is connected using its parasitic power mode. It can also indicate a wiring error. .El diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4 index e9b587dac12c26..c8b77904ebe01b 100644 --- a/share/man/man4/pci.4 +++ b/share/man/man4/pci.4 @@ -473,7 +473,7 @@ The current value of these tunables can be examined at runtime via nodes of the same name. Unless otherwise specified, each of these tunables is a boolean that can be enabled by setting the -tunable to a non-zero value. +tunable to a nonzero value. .Bl -tag -width indent .It Va hw.pci.clear_bars Pq Defaults to 0 Ignore any firmware-assigned memory and I/O port resources. diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index 92e1a6fdf87b1e..3d686a6342b6c3 100644 --- a/share/man/man4/pf.4 +++ b/share/man/man4/pf.4 @@ -778,7 +778,7 @@ must be the size of .Vt struct pfr_addr . Additionally, if .Va pfrio_size2 -is non-zero, +is nonzero, .Va pfrio_buffer[pfrio_size..pfrio_size2] must be a writeable buffer, into which the kernel can copy the addresses that have been deleted during the replace operation. diff --git a/share/man/man4/pvscsi.4 b/share/man/man4/pvscsi.4 index 19ca6cc555da06..476168c528d0fe 100644 --- a/share/man/man4/pvscsi.4 +++ b/share/man/man4/pvscsi.4 @@ -31,13 +31,13 @@ The following tunables are settable from the controls how many pages are allocated for the device request ring. A non-positive value will cause the driver to choose the value based on device capabilities. -A non-zero value will use that many number of pages up to a maximum of 32. +A nonzero value will use that many number of pages up to a maximum of 32. The default setting is 0. .It Va hw.pvscsi.max_queue_depth controls the queue size for the adapter. A non-positive value will cause the driver to choose the value based on number of request ring pages. -A non-zero value will set the queue size up to a maximum allowed by the number +A nonzero value will set the queue size up to a maximum allowed by the number of request ring pages. Default is 0. .It Va hw.pvscsi.use_msg diff --git a/share/man/man4/random.4 b/share/man/man4/random.4 index 840bc0c3234bd2..f664e256642499 100644 --- a/share/man/man4/random.4 +++ b/share/man/man4/random.4 @@ -164,7 +164,7 @@ requests if and until the device is initially seeded. .It Va kern.random.initial_seeding.disable_bypass_warnings Defaults to 0 (off). -When set non-zero, disables warnings in dmesg when the +When set nonzero, disables warnings in dmesg when the .Nm device is bypassed. .El @@ -174,7 +174,7 @@ The following read-only variables allow programmatic diagnostic of whether .Nm device bypass occurred during boot. -If they are set (non-zero), the specific functional unit bypassed the strong +If they are set (nonzero), the specific functional unit bypassed the strong .Nm device output and either produced no output .Xr ( read_random 9 ) diff --git a/share/man/man4/re.4 b/share/man/man4/re.4 index ac33aa4c4e3c15..83b58030b7265f 100644 --- a/share/man/man4/re.4 +++ b/share/man/man4/re.4 @@ -190,7 +190,7 @@ The default value is 0. .It Va hw.re.prefer_iomap This tunable controls which register mapping should be used on the specified device. -A non-zero value enables I/O space register mapping. +A nonzero value enables I/O space register mapping. The default value is 0 to use memory space register mapping. .El .Sh SYSCTL VARIABLES diff --git a/share/man/man4/rl.4 b/share/man/man4/rl.4 index 9323e046a5e140..26cd16148a225c 100644 --- a/share/man/man4/rl.4 +++ b/share/man/man4/rl.4 @@ -204,7 +204,7 @@ SOHO (PRAGMATIC) UE-1211C .It Va dev.rl.%unit.prefer_iomap This tunable controls which register mapping should be used on the specified device. -A non-zero value enables I/O space register mapping. +A nonzero value enables I/O space register mapping. For controllers that have no I/O space register mapping this tunable should be set to 0 to use memory space register mapping. The default value is 1 to use I/O space register mapping. diff --git a/share/man/man4/safe.4 b/share/man/man4/safe.4 index 61f2041ff333fb..6aa655f4ce9921 100644 --- a/share/man/man4/safe.4 +++ b/share/man/man4/safe.4 @@ -88,7 +88,7 @@ defined, two .Xr sysctl 8 variables are provided for debugging purposes: .Va hw.safe.debug -can be set to a non-zero value to enable debugging messages to be sent +can be set to a nonzero value to enable debugging messages to be sent to the console for each cryptographic operation, .Va hw.safe.dump is a write-only variable that can be used to force driver state to be sent diff --git a/share/man/man4/sis.4 b/share/man/man4/sis.4 index 87c8e059e53a86..076aaed88ee85a 100644 --- a/share/man/man4/sis.4 +++ b/share/man/man4/sis.4 @@ -153,7 +153,7 @@ This variable controls how to pad short frames for DP83815/DP83816 controllers on the specified device. DP83815/DP83816 controllers are known to pad 0xFF for short frames which is violation of RFC 1042. -Set this variable to a non-zero value to let driver manually pad +Set this variable to a nonzero value to let driver manually pad each short frame with zeros at the cost of extra CPU cycles. The default value is 0 to let hardware perform automatic padding. .El diff --git a/share/man/man4/sk.4 b/share/man/man4/sk.4 index 17ca8beb5e1884..9711fe05bb2f47 100644 --- a/share/man/man4/sk.4 +++ b/share/man/man4/sk.4 @@ -173,7 +173,7 @@ prompt before booting the kernel or stored in .Bl -tag -width xxxxxx .It Va hw.skc.jumbo_disable Disable jumbo frame support. -Systems with less memory can set it to a non-zero value to save memory. +Systems with less memory can set it to a nonzero value to save memory. The default value is 0. .El .Sh SYSCTL VARIABLES diff --git a/share/man/man4/snd_hda.4 b/share/man/man4/snd_hda.4 index 45ad2ee132ca64..3801cd166e5bfb 100644 --- a/share/man/man4/snd_hda.4 +++ b/share/man/man4/snd_hda.4 @@ -337,7 +337,7 @@ variables are available in addition to those available to all devices: .Bl -tag -width ".Va dev.hdaa.%d.nid%d_original" -offset indent .It Va dev.hdac.%d.pindump -Setting this to a non-zero value dumps the current pin configuration, main +Setting this to a nonzero value dumps the current pin configuration, main capabilities and jack sense status of all audio functions on the controller to console and syslog. .It Va dev.hdac.%d.polling @@ -370,7 +370,7 @@ tunable. .It Va dev.hdaa.%d.nid%d_original Original pin configuration written by BIOS. .It Va dev.hdaa.%d.reconfig -Setting this to a non-zero value makes driver to destroy existing pcm devices +Setting this to a nonzero value makes driver to destroy existing pcm devices and process new pins configuration set via .Va dev.hdaa.%d.nid%d_config . .It Va dev.pcm.%d.play.32bit , dev.pcm.%d.rec.32bit diff --git a/share/man/man4/snd_uaudio.4 b/share/man/man4/snd_uaudio.4 index 6e2509b8f2aca3..9c3e12a7feeb63 100644 --- a/share/man/man4/snd_uaudio.4 +++ b/share/man/man4/snd_uaudio.4 @@ -109,7 +109,7 @@ which can also be used to adjust the sample rate during runtime. .Pp If .Pa hw.usb.uaudio.default_rate -is non-zero, +is nonzero, .Pa dev.pcm.%d.[play|rec].vchanrate will use it as its maximum allowed value. .It Va hw.usb.uaudio.handle_hid diff --git a/share/man/man4/spigen.4 b/share/man/man4/spigen.4 index 5ca5ef6b132935..119e0db1a5decd 100644 --- a/share/man/man4/spigen.4 +++ b/share/man/man4/spigen.4 @@ -97,7 +97,7 @@ fields of .Vt spigen_transfer_mmapped . If .Vt stm_data_length -is non-zero, the data appears in the memory region immediately +is nonzero, the data appears in the memory region immediately following the command (that is, at offset .Vt stm_command_length from the start of the mapped region). diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4 index 95a681a923d22a..c7abbb6b1afc25 100644 --- a/share/man/man4/tap.4 +++ b/share/man/man4/tap.4 @@ -71,7 +71,7 @@ If the .Xr sysctl 8 variable .Va net.link.tap.devfs_cloning -is non-zero, the +is nonzero, the .Nm interface permits opens on the special control device @@ -123,12 +123,12 @@ and is restricted to the super-user, unless the .Xr sysctl 8 variable .Va net.link.tap.user_open -is non-zero. +is nonzero. If the .Xr sysctl 8 variable .Va net.link.tap.up_on_open -is non-zero, the tunnel device will be marked +is nonzero, the tunnel device will be marked .Dq up when the control device is opened. A diff --git a/share/man/man4/targ.4 b/share/man/man4/targ.4 index 543597c81b18a9..855b27a72b9807 100644 --- a/share/man/man4/targ.4 +++ b/share/man/man4/targ.4 @@ -89,7 +89,7 @@ If .Va grp6_len or .Va grp7_len -are non-zero, reception of vendor-specific commands +are nonzero, reception of vendor-specific commands is enabled. .It Dv TARGIOCDISABLE Disable target mode and abort all pending CCBs. @@ -104,7 +104,7 @@ system call automatically disables target mode if enabled. .Pq Vt int Enables .Dv CAM_PERIPH -debugging if the argument is non-zero, otherwise disables +debugging if the argument is nonzero, otherwise disables it. .El .Sh FILES diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index 192fa90a1635ad..79b229b59c331f 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -321,7 +321,7 @@ every user call to .Xr write 2 or .Xr writev 2 . -When this option is set to a non-zero value, +When this option is set to a nonzero value, .Tn TCP will delay sending any data at all until either the socket is closed, or the internal send buffer is filled. @@ -526,12 +526,12 @@ the socket cannot be read). The timeout used here is .Va finwait2_timeout . .It Va fastopen.acceptany -When non-zero, all client-supplied TFO cookies will be considered to be valid. +When nonzero, all client-supplied TFO cookies will be considered to be valid. The default is 0. .It Va fastopen.autokey When this and .Va net.inet.tcp.fastopen.server_enable -are non-zero, a new key will be automatically generated after this specified +are nonzero, a new key will be automatically generated after this specified seconds. The default is 120. .It Va fastopen.ccache_bucket_limit @@ -588,7 +588,7 @@ pressure before the disable period has elapsed. The default is .Dv TCP_FASTOPEN_PATH_DISABLE_TIME_DEFAULT . .It Va fastopen.psk_enable -When non-zero, pre-shared key (PSK) mode is enabled for all TFO servers. +When nonzero, pre-shared key (PSK) mode is enabled for all TFO servers. On the transition from enabled to disabled, all installed pre-shared keys are removed. The default is 0. @@ -598,7 +598,7 @@ On the transition from enabled to disabled, all installed keys and pre-shared keys are removed. On the transition from disabled to enabled, if .Va fastopen.autokey -is non-zero and there are no keys installed, a new key will be generated +is nonzero and there are no keys installed, a new key will be generated immediately. The transition from enabled to disabled does not affect any passive TFO connections in progress; it only prevents new ones from being established. @@ -669,7 +669,7 @@ Time in seconds between pruning expired host cache entries. Defaults to 300 (5 minutes). .It Va hostcache.purge Expire all entries on next pruning of host cache entries. -Any non-zero setting will be reset to zero, once the purge +Any nonzero setting will be reset to zero, once the purge is running. .Bl -tag -compact .It 0 diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4 index 08b0b81126c309..08118e5da3f4e9 100644 --- a/share/man/man4/termios.4 +++ b/share/man/man4/termios.4 @@ -763,7 +763,7 @@ In case the .Xr sysctl 8 variable .Va kern.tty_info_kstacks -is set to a non-zero value, the running thread's kernel stack is +is set to a nonzero value, the running thread's kernel stack is written to the terminal (e.g., for debugging purposes). .El .Pp diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4 index 331c0c42f476d4..991ff215afb12a 100644 --- a/share/man/man4/tty.4 +++ b/share/man/man4/tty.4 @@ -299,7 +299,7 @@ structure pointed to by .It Dv TIOCCONS Fa int *on If .Fa on -points to a non-zero integer, redirect kernel console output (kernel printf's) +points to a nonzero integer, redirect kernel console output (kernel printf's) to this terminal. If .Fa on diff --git a/share/man/man4/tun.4 b/share/man/man4/tun.4 index 58f67cb20acb57..908c8090682512 100644 --- a/share/man/man4/tun.4 +++ b/share/man/man4/tun.4 @@ -85,7 +85,7 @@ If the .Xr sysctl 8 variable .Va net.link.tun.devfs_cloning -is non-zero, the +is nonzero, the .Nm interface permits opens on the special control device @@ -260,7 +260,7 @@ error is returned. .It Dv TUNSLMODE The argument should be a pointer to an .Vt int ; -a non-zero value turns off +a nonzero value turns off .Dq multi-af mode and turns on .Dq link-layer @@ -271,7 +271,7 @@ Will set the pid owning the tunnel device to the current process's pid. .It Dv TUNSIFHEAD The argument should be a pointer to an .Vt int ; -a non-zero value turns off +a nonzero value turns off .Dq link-layer mode, and enables .Dq multi-af diff --git a/share/man/man4/tws.4 b/share/man/man4/tws.4 index 35ac30910cd13d..c909b735136b16 100644 --- a/share/man/man4/tws.4 +++ b/share/man/man4/tws.4 @@ -75,7 +75,7 @@ prompt before booting the kernel or stored in The maximum queued CAM SIM requests for one controller. The default value is 256. .It Va hw.tws.enable_msi -This tunable enables MSI support on the controller if set to a non-zero value. +This tunable enables MSI support on the controller if set to a nonzero value. The default value is 0. .It Va hw.tws.queue_depth The maximum queued requests for one controller. diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4 index ad050bdd0d5982..bed2212e27e1ae 100644 --- a/share/man/man4/vt.4 +++ b/share/man/man4/vt.4 @@ -275,7 +275,7 @@ out of view before it can be captured by eye or camera. .Pp Setting .Va kern.vt.slow_down -to a non-zero number will make console output synchronous (ie: +to a nonzero number will make console output synchronous (ie: not dependent on timers and interrupts) and slow it down in proportion to the number. .It Va screen.font diff --git a/share/man/man4/watchdog.4 b/share/man/man4/watchdog.4 index b74640de846930..28cee0a0bb7108 100644 --- a/share/man/man4/watchdog.4 +++ b/share/man/man4/watchdog.4 @@ -128,7 +128,7 @@ printf(9) The .Dv WDIOCPATPAT .Xr ioctl 2 -returns zero on success and non-zero on failure. +returns zero on success and nonzero on failure. .Bl -tag -width Er .It Bq Er EOPNOTSUPP No watchdog present in the kernel or @@ -142,7 +142,7 @@ Invalid flag combination passed. .Pp The configuration .Xr ioctl 2 -operations return zero on success and non-zero on failure. +operations return zero on success and nonzero on failure. .Sh EXAMPLES .Bd -literal -offset indent #include diff --git a/share/man/man4/witness.4 b/share/man/man4/witness.4 index ab23eb49d9fea7..5e877ad170db4c 100644 --- a/share/man/man4/witness.4 +++ b/share/man/man4/witness.4 @@ -92,7 +92,7 @@ environment variable or after the kernel has booted via the .Va debug.witness.kdb sysctl. If the flag is set to zero, then the debugger will not be entered. -If the flag is non-zero, then the debugger will be entered. +If the flag is nonzero, then the debugger will be entered. .Pp The .Nm @@ -105,7 +105,7 @@ The flag can also be set via the .Xr loader 8 environment variable .Va debug.witness.skipspin . -If the variable is set to a non-zero value, then spin mutexes are skipped. +If the variable is set to a nonzero value, then spin mutexes are skipped. Once the kernel has booted, the status of this flag can be examined but not set via the read-only sysctl .Va debug.witness.skipspin . diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5 index 7ad469a03c3b5c..dc80a38e730dd0 100644 --- a/share/man/man5/elf.5 +++ b/share/man/man5/elf.5 @@ -819,7 +819,7 @@ the section occupies bytes in the file. A section of type .Sy SHT_NOBITS -may have a non-zero size, but it occupies no space in the file. +may have a nonzero size, but it occupies no space in the file. .It Dv sh_link This member holds a section header table index link, whose interpretation depends on the section type. @@ -1158,7 +1158,7 @@ typedef struct { This member holds an index into the object file's symbol string table, which holds character representations of the symbol names. If the value -is non-zero, it represents a string table index that gives the symbol +is nonzero, it represents a string table index that gives the symbol name. Otherwise, the symbol table has no name. .It Dv st_value diff --git a/share/man/man5/link.5 b/share/man/man5/link.5 index 61c9c09e30bc5e..232038d171a707 100644 --- a/share/man/man5/link.5 +++ b/share/man/man5/link.5 @@ -99,7 +99,7 @@ is used to indicate the presence of the run-time linker structures. Whenever _DYNAMIC is relocated to 0, there is no need to invoke the run-time link-editor. -If this symbol is non-zero, it points at a data structure from +If this symbol is nonzero, it points at a data structure from which the location of the necessary relocation- and symbol information can be derived. This is most notably used by the start-up module, diff --git a/share/man/man5/quota.user.5 b/share/man/man5/quota.user.5 index 7bfbd4eda3d16d..918dd6c6d866f7 100644 --- a/share/man/man5/quota.user.5 +++ b/share/man/man5/quota.user.5 @@ -85,23 +85,23 @@ structures, as defined in .In ufs/ufs/quota.h , and indexed by UID or GID. The data files will be written as a sparse file if possible. -Data is only maintained for ids that have either non-zero usage or -non-zero quota limits. +Data is only maintained for ids that have either nonzero usage or +nonzero quota limits. If an attempt is made to access data for an id that would exist past the end of the current data file, a quota structure with all values set to zero will be created, and the data file extended as needed. The .Xr quotacheck 8 utility will truncate the data files to the minimum size needed -to store the highest id with either non-zero file usage or -non-zero quota limits. +to store the highest id with either nonzero file usage or +nonzero quota limits. .Pp The data record for id 0 has special meaning. If the .Dq Dv dqb_btime or .Dq Dv dbq_itime -fields are non-zero, they are used to indicate the grace period on +fields are nonzero, they are used to indicate the grace period on that file system for users who have exceeded their soft limit. These times can be set by .Xr edquota 8 diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8 index b7bd7b2de1f0ae..d9b847a1972d63 100644 --- a/share/man/man8/rc.8 +++ b/share/man/man8/rc.8 @@ -276,7 +276,7 @@ and .El .It Pa bar Scripts that are sourced in a subshell. -The boot does not stop if such a script terminates with a non-zero status, +The boot does not stop if such a script terminates with a nonzero status, but a script can stop the boot if necessary by invoking the .Fn stop_boot function (from diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 1fd5041cecd874..d0720c09cd6c02 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -549,7 +549,7 @@ and sets .Va rc_force Ns = Ns Li YES . This ignores .Ar argument Ns Va _precmd -returning non-zero, and ignores any of the +returning nonzero, and ignores any of the .Va required_* tests failing, and always returns a zero exit status. .It Li one @@ -845,7 +845,7 @@ Shell commands to run just before running .Ar argument Ns Va _cmd or the default method for .Ar argument . -If this returns a non-zero exit code, the main method is not performed. +If this returns a nonzero exit code, the main method is not performed. If the default method is being executed, this check is performed after the .Va required_* @@ -1115,7 +1115,7 @@ indicates a truth value, then a signal is sent to the parent process, which is assumed to be .Xr rc 8 . -Otherwise, the shell exits with a non-zero status. +Otherwise, the shell exits with a nonzero status. .It Ic vdot Ar file ... For reading in only verified files. .Pp diff --git a/share/man/man9/BUF_LOCK.9 b/share/man/man9/BUF_LOCK.9 index f70c3bb9be1695..2edc1ea52aafc3 100644 --- a/share/man/man9/BUF_LOCK.9 +++ b/share/man/man9/BUF_LOCK.9 @@ -62,7 +62,7 @@ A value of 0 is returned upon success. See .Xr lockmgr 9 for -information on non-zero return values. +information on nonzero return values. .Sh SEE ALSO .Xr buf 9 , .Xr BUF_TIMELOCK 9 , diff --git a/share/man/man9/BUF_TIMELOCK.9 b/share/man/man9/BUF_TIMELOCK.9 index dc8f2420f39620..8d1af2f3d5d699 100644 --- a/share/man/man9/BUF_TIMELOCK.9 +++ b/share/man/man9/BUF_TIMELOCK.9 @@ -70,7 +70,7 @@ The timeout for any sleeps encountered during the lock. A value of 0 is returned on success. See .Xr lockmgr 9 -for details on non-zero return values. +for details on nonzero return values. .Sh SEE ALSO .Xr buf 9 , .Xr BUF_LOCK 9 , diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9 index 238f434e2d658f..c99bdae4204890 100644 --- a/share/man/man9/BUS_SETUP_INTR.9 +++ b/share/man/man9/BUS_SETUP_INTR.9 @@ -109,7 +109,7 @@ that .Fn BUS_SETUP_INTR will write a cookie for the parent bus' use to if it is successful in establishing an interrupt. -Driver writers may assume that this cookie will be non-zero. +Driver writers may assume that this cookie will be nonzero. The nexus driver will write 0 on failure to .Fa cookiep . .Pp diff --git a/share/man/man9/PHOLD.9 b/share/man/man9/PHOLD.9 index 57c0f522645bc2..31bd7f650da104 100644 --- a/share/man/man9/PHOLD.9 +++ b/share/man/man9/PHOLD.9 @@ -41,7 +41,7 @@ macro increments the hold count of a process, and the .Fn PRELE macro decrements the hold count of a process. .Pp -If a process with a non-zero hold count attempts to exit, it will sleep until +If a process with a nonzero hold count attempts to exit, it will sleep until its hold count has reached zero before the kernel begins releasing resources associated with the process. Once a process has started exiting, it is invalid to increase its hold count. @@ -49,7 +49,7 @@ Thus, callers must not attempt to hold a process that has the .Dv P_WEXIT flag set. The VM daemon will not swap out the kernel stack of a thread belonging to a -process with a non-zero hold count. +process with a nonzero hold count. .Pp The .Fn _PHOLD diff --git a/share/man/man9/SDT.9 b/share/man/man9/SDT.9 index 65d1c9dc651587..e0c1fa776d3424 100644 --- a/share/man/man9/SDT.9 +++ b/share/man/man9/SDT.9 @@ -338,7 +338,7 @@ implementation (and by extension, of FreeBSD's port) is that inactive probes should have no performance impact. This is unfortunately not the case; .Nm -trace points will add a small but non-zero amount of latency to the code +trace points will add a small but nonzero amount of latency to the code in which they are defined. A more sophisticated implementation of the probes will help alleviate this problem. diff --git a/share/man/man9/VOP_READ_PGCACHE.9 b/share/man/man9/VOP_READ_PGCACHE.9 index 8a99365eba2834..64e96b9a170511 100644 --- a/share/man/man9/VOP_READ_PGCACHE.9 +++ b/share/man/man9/VOP_READ_PGCACHE.9 @@ -103,7 +103,7 @@ The credentials of the caller. .El .Pp .Nm -does not handle non-zero +does not handle nonzero .Fa ioflag argument. .Sh LOCKS diff --git a/share/man/man9/VOP_SETEXTATTR.9 b/share/man/man9/VOP_SETEXTATTR.9 index a0ca7a5a4fe1c5..19ea936b45e664 100644 --- a/share/man/man9/VOP_SETEXTATTR.9 +++ b/share/man/man9/VOP_SETEXTATTR.9 @@ -60,7 +60,7 @@ The uio structure is used in a manner similar to the argument of the same name in .Xr VOP_WRITE 9 . However, as extended attributes provide a strict "name=value" semantic, -non-zero offsets will be rejected. +nonzero offsets will be rejected. .Pp The .Fa uio diff --git a/share/man/man9/bitset.9 b/share/man/man9/bitset.9 index b77cfec63e260f..abb0e8673fa4f7 100644 --- a/share/man/man9/bitset.9 +++ b/share/man/man9/bitset.9 @@ -330,7 +330,7 @@ or zero if is empty. Like with .Xr ffs 3 , -to use the non-zero result of +to use the nonzero result of .Fn BIT_FFS as a .Fa bit @@ -359,7 +359,7 @@ or zero if is empty. Like with .Xr fls 3 , -to use the non-zero result of +to use the nonzero result of .Fn BIT_FLS as a .Fa bit diff --git a/share/man/man9/bus_child_present.9 b/share/man/man9/bus_child_present.9 index 1d5c78f4d5915f..692c71661d3599 100644 --- a/share/man/man9/bus_child_present.9 +++ b/share/man/man9/bus_child_present.9 @@ -58,7 +58,7 @@ which can better be answered by .Sh RETURN VALUES A zero return value indicates that the device is not present in the system. -A non-zero return value indicates that the device is present in the +A nonzero return value indicates that the device is present in the system, or that the state of the device cannot be determined. .Sh EXAMPLES This is some example code. diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index b644eeb2a47609..ed48ced862001b 100644 --- a/share/man/man9/bus_dma.9 +++ b/share/man/man9/bus_dma.9 @@ -371,7 +371,7 @@ to .Ql trunc_page(testaddr) + PAGE_SIZE - 1 , inclusive. The filter function should return zero if any mapping in this range -can be accommodated by the device and non-zero otherwise. +can be accommodated by the device and nonzero otherwise. .Pp .Em Note: The use of filters is no longer supported and will result in an error. .It Vt bus_dma_segment_t diff --git a/share/man/man9/bus_space.9 b/share/man/man9/bus_space.9 index 12ab5d8dcddf86..b29299c1539e0c 100644 --- a/share/man/man9/bus_space.9 +++ b/share/man/man9/bus_space.9 @@ -842,7 +842,7 @@ and fills in the bus space handle pointed to by with the handle that can be used to access the mapped region. If unsuccessful, -it will return non-zero and leave the bus space handle pointed +it will return nonzero and leave the bus space handle pointed to by .Fa handlep in an undefined state. @@ -957,7 +957,7 @@ If successful, returns zero and fills in the bus space handle pointed to by .Fa nhandlep . -If unsuccessful, it returns non-zero and leaves the bus space handle +If unsuccessful, it returns nonzero and leaves the bus space handle pointed to by .Fa nhandlep in an @@ -1010,7 +1010,7 @@ with the bus space address of the allocated region, and fills in the bus space handle pointed to by .Fa handlep with the handle that can be used to access that region. -If unsuccessful, it returns non-zero and leaves the bus address pointed to by +If unsuccessful, it returns nonzero and leaves the bus address pointed to by .Fa addrp and the bus space handle pointed to by .Fa handlep @@ -1031,7 +1031,7 @@ constraint must be a power of two, and the allocated region will start at an address that is an even multiple of that power of two. The .Fa boundary -constraint, if non-zero, ensures that the region is allocated so that +constraint, if nonzero, ensures that the region is allocated so that .Fa "first address in region" / .Fa boundary @@ -1218,7 +1218,7 @@ complete before returning. The return value indicates the outcome of the peek or poke operation. A return value of zero implies that a hardware device is responding to the operation at the specified offset in the bus space. -A non-zero return value indicates that the kernel intercepted a +A nonzero return value indicates that the kernel intercepted a hardware exception (e.g., bus error) when the peek or poke operation was attempted. Note that some busses are incapable of generating exceptions when diff --git a/share/man/man9/callout.9 b/share/man/man9/callout.9 index 0e59ef8ab2b17b..084dfe6416208b 100644 --- a/share/man/man9/callout.9 +++ b/share/man/man9/callout.9 @@ -360,7 +360,7 @@ If .Fa sbt specifies a time in the past, the window is adjusted to start at the current time. -A non-zero value for +A nonzero value for .Fa pr allows the callout subsystem to coalesce callouts scheduled close to each other into fewer timer interrupts, @@ -485,11 +485,11 @@ to which it is currently assigned. Softclock threads are not pinned to their respective CPUs by default. The softclock thread for CPU 0 can be pinned to CPU 0 by setting the .Va kern.pin_default_swi -loader tunable to a non-zero value. +loader tunable to a nonzero value. Softclock threads for CPUs other than zero can be pinned to their respective CPUs by setting the .Va kern.pin_pcpu_swi -loader tunable to a non-zero value. +loader tunable to a nonzero value. .Pp The macros .Fn callout_pending , diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9 index afadd7333e52ef..06976e5b3390f4 100644 --- a/share/man/man9/condvar.9 +++ b/share/man/man9/condvar.9 @@ -223,7 +223,7 @@ If successful, and .Fn cv_timedwait_sig return 0. -Otherwise, a non-zero error code is returned. +Otherwise, a nonzero error code is returned. .Pp .Fn cv_wmesg returns the description string that was passed to diff --git a/share/man/man9/config_intrhook.9 b/share/man/man9/config_intrhook.9 index 4ab491304b009c..9e49e848f77984 100644 --- a/share/man/man9/config_intrhook.9 +++ b/share/man/man9/config_intrhook.9 @@ -121,7 +121,7 @@ and just before the root file system device is discovered. .Sh RETURN VALUES A zero return value means the hook was successfully added to the queue (with either deferred or immediate execution). -A non-zero return value means the hook could not be added to the queue +A nonzero return value means the hook could not be added to the queue because it was already on the queue. .Sh SEE ALSO .Xr DEVICE_ATTACH 9 diff --git a/share/man/man9/cpuset.9 b/share/man/man9/cpuset.9 index 20485059a4c8b1..dddd8e2dadbaea 100644 --- a/share/man/man9/cpuset.9 +++ b/share/man/man9/cpuset.9 @@ -228,7 +228,7 @@ or zero if is empty. Like with .Xr ffs 3 , -to use the non-zero result of +to use the nonzero result of .Fn CPU_FFS as a .Fa cpu_idx diff --git a/share/man/man9/cr_bsd_visible.9 b/share/man/man9/cr_bsd_visible.9 index d16f4bb6dd8f0a..0db90e2b1ffb3a 100644 --- a/share/man/man9/cr_bsd_visible.9 +++ b/share/man/man9/cr_bsd_visible.9 @@ -64,7 +64,7 @@ policies provided that the .Xr sysctl 8 variable .Va security.bsd.suser_enabled -is non-zero and no active MAC policy explicitly denies the exemption +is nonzero and no active MAC policy explicitly denies the exemption .Po see .Xr priv_check_cred 9 diff --git a/share/man/man9/cr_canseejailproc.9 b/share/man/man9/cr_canseejailproc.9 index 775c76722b05c0..a14d5f536add7a 100644 --- a/share/man/man9/cr_canseejailproc.9 +++ b/share/man/man9/cr_canseejailproc.9 @@ -59,7 +59,7 @@ provided that the .Xr sysctl 8 variable .Va security.bsd.suser_enabled -is non-zero and no active MAC policy explicitly denies the exemption +is nonzero and no active MAC policy explicitly denies the exemption .Po see .Xr priv_check_cred 9 diff --git a/share/man/man9/cr_canseeothergids.9 b/share/man/man9/cr_canseeothergids.9 index 530335d5d5f7e5..5ddcac636086f2 100644 --- a/share/man/man9/cr_canseeothergids.9 +++ b/share/man/man9/cr_canseeothergids.9 @@ -63,7 +63,7 @@ provided that the .Xr sysctl 8 variable .Va security.bsd.suser_enabled -is non-zero and no active MAC policy explicitly denies the exemption +is nonzero and no active MAC policy explicitly denies the exemption .Po see .Xr priv_check_cred 9 diff --git a/share/man/man9/cr_canseeotheruids.9 b/share/man/man9/cr_canseeotheruids.9 index 230c5ea59b7877..26d23d3f00db02 100644 --- a/share/man/man9/cr_canseeotheruids.9 +++ b/share/man/man9/cr_canseeotheruids.9 @@ -60,7 +60,7 @@ provided that the .Xr sysctl 8 variable .Va security.bsd.suser_enabled -is non-zero and no active MAC policy explicitly denies the exemption +is nonzero and no active MAC policy explicitly denies the exemption .Po see .Xr priv_check_cred 9 diff --git a/share/man/man9/crypto_buffer.9 b/share/man/man9/crypto_buffer.9 index f14ae93728f268..055838a6489381 100644 --- a/share/man/man9/crypto_buffer.9 +++ b/share/man/man9/crypto_buffer.9 @@ -147,7 +147,7 @@ bytes of the data buffer which starts at an offset .Fa off . If any invocation of .Fa f -returns a non-zero value, +returns a nonzero value, .Fn crypto_apply_buf immediately returns that value without invoking .Fa f diff --git a/share/man/man9/crypto_session.9 b/share/man/man9/crypto_session.9 index 7ff10237a810ae..2866f5060a6836 100644 --- a/share/man/man9/crypto_session.9 +++ b/share/man/man9/crypto_session.9 @@ -242,13 +242,13 @@ crypto session. .It Fa csp_auth_mlen The length in bytes of the digest. If zero, the full length of the digest is used. -If non-zero, the first +If nonzero, the first .Fa csp_auth_mlen bytes of the digest are used. .El .Sh RETURN VALUES .Fn crypto_newsession -returns a non-zero value if an error occurs or zero on success. +returns a nonzero value if an error occurs or zero on success. .Pp .Fn crypto_auth_hash and diff --git a/share/man/man9/devfs_set_cdevpriv.9 b/share/man/man9/devfs_set_cdevpriv.9 index 0cbfd3eebeb786..889760f0e5b0d5 100644 --- a/share/man/man9/devfs_set_cdevpriv.9 +++ b/share/man/man9/devfs_set_cdevpriv.9 @@ -136,7 +136,7 @@ are passed to the function .Fa cb . If .Fa cb -returns non-zero value, the iteration stops on that element. +returns nonzero value, the iteration stops on that element. The .Fn devfs_foreach_cdevpriv returns the return value from the last call to diff --git a/share/man/man9/device_delete_children.9 b/share/man/man9/device_delete_children.9 index d70fc6fe287ac3..1c229f5bf14876 100644 --- a/share/man/man9/device_delete_children.9 +++ b/share/man/man9/device_delete_children.9 @@ -48,7 +48,7 @@ using the function for each device it finds. If a child device cannot be deleted, this function will return an error code. .Sh RETURN VALUES -Zero is returned on success, a non-zero return value indicates failure. +Zero is returned on success, a nonzero return value indicates failure. .Sh SEE ALSO .Xr device_delete_child 9 .Sh AUTHORS diff --git a/share/man/man9/fail.9 b/share/man/man9/fail.9 index 346f4dc334a5d1..e6e158eb44ccee 100644 --- a/share/man/man9/fail.9 +++ b/share/man/man9/fail.9 @@ -225,7 +225,7 @@ A .Fn return term only cascades if the code executes, and a .Fn print -term only cascades when passed a non-zero argument. +term only cascades when passed a nonzero argument. A pid can optionally be specified. The fail point term is only executed when invoked by a process with a matching p_pid. diff --git a/share/man/man9/getenv.9 b/share/man/man9/getenv.9 index 0550814871fa52..bcbb92747322ca 100644 --- a/share/man/man9/getenv.9 +++ b/share/man/man9/getenv.9 @@ -134,7 +134,7 @@ function deletes the kernel environment variable The .Fn testenv function is used to determine if a kernel environment variable exists. -It returns a non-zero value if the variable +It returns a nonzero value if the variable .Fa name exists and zero if it does not. .Pp @@ -200,7 +200,7 @@ up to .Fa size - 1 characters of its value are copied to the buffer pointed to by .Fa data -followed by a null character and a non-zero value is returned. +followed by a null character and a nonzero value is returned. .Pp The .Fn getenv_bool @@ -239,7 +239,7 @@ functions return zero on success and -1 on failure. The .Fn testenv function returns zero if the specified environment variable does not exist and -a non-zero value if it does exist. +a nonzero value if it does exist. .Pp The .Fn getenv_int , @@ -250,7 +250,7 @@ The .Fn getenv_ulong , and .Fn getenv_bool -functions return a non-zero value on success and zero on failure. +functions return a nonzero value on success and zero on failure. .Pp The .Fn getenv_is_true diff --git a/share/man/man9/hardclock.9 b/share/man/man9/hardclock.9 index 757aed112ccbec..6d63eeb593a4be 100644 --- a/share/man/man9/hardclock.9 +++ b/share/man/man9/hardclock.9 @@ -55,7 +55,7 @@ See for important details over shorter time scales. The .Fa usermode -argument is non-zero when +argument is nonzero when .Fn hardclock is called from an context that interrupted usermode execution. .Pp diff --git a/share/man/man9/ieee80211_output.9 b/share/man/man9/ieee80211_output.9 index 80aa6d69e05d0d..6135b1b9e431b8 100644 --- a/share/man/man9/ieee80211_output.9 +++ b/share/man/man9/ieee80211_output.9 @@ -178,7 +178,7 @@ mbuf flag to indicate a callback should be done when their transmission completes. The callback is done using .Fn ieee80211_process_callback -with the last parameter set to a non-zero value if an error occurred +with the last parameter set to a nonzero value if an error occurred and zero otherwise. Note .Nm net80211 diff --git a/share/man/man9/intr_event.9 b/share/man/man9/intr_event.9 index d1964ce289a5f5..22b44616c217ac 100644 --- a/share/man/man9/intr_event.9 +++ b/share/man/man9/intr_event.9 @@ -334,7 +334,7 @@ The .Fn intr_event_handle , and .Fn intr_event_remove_handler -functions return zero on success and non-zero on failure. +functions return zero on success and nonzero on failure. The .Fn intr_priority function returns a process priority corresponding to the passed in interrupt diff --git a/share/man/man9/kern_yield.9 b/share/man/man9/kern_yield.9 index ba8d64a66b1fc5..dbbf2d0fbe798a 100644 --- a/share/man/man9/kern_yield.9 +++ b/share/man/man9/kern_yield.9 @@ -116,7 +116,7 @@ With the above considerations in mind, it is advised that code written using .Fn kern_yield be measured to confirm that its use has a positive effect on relevant performance or responsiveness metrics. -Switching thread contexts has a non-zero cost, and thus yielding the processor +Switching thread contexts has a nonzero cost, and thus yielding the processor too eagerly could have a negative impact on performance. .Pp Additionally, since yielding is a cooperative action, it is advised that the diff --git a/share/man/man9/khelp.9 b/share/man/man9/khelp.9 index d619f385d513d2..7be0a793306c46 100644 --- a/share/man/man9/khelp.9 +++ b/share/man/man9/khelp.9 @@ -118,7 +118,7 @@ If specified, the function will be run by the .Nm framework prior to completing the registration process. -Returning a non-zero value from the +Returning a nonzero value from the .Va mod_init function will abort the registration process and fail to load the module. If specified, the diff --git a/share/man/man9/kmsan.9 b/share/man/man9/kmsan.9 index d9d279e12140f2..202b79d2a8ed36 100644 --- a/share/man/man9/kmsan.9 +++ b/share/man/man9/kmsan.9 @@ -180,7 +180,7 @@ Each address in the kernel map has a linear mapping to addresses in the two shadows. The first, simply called the shadow map, tracks the state of the corresponding kernel memory. -A non-zero byte in the shadow map indicates that the corresponding byte of +A nonzero byte in the shadow map indicates that the corresponding byte of kernel memory is uninitialized. The .Nm diff --git a/share/man/man9/kproc.9 b/share/man/man9/kproc.9 index 14ee056cb71030..da88b7caa32ffa 100644 --- a/share/man/man9/kproc.9 +++ b/share/man/man9/kproc.9 @@ -280,7 +280,7 @@ The .Fn kproc_resume , and .Fn kproc_suspend -functions return zero on success and non-zero on failure. +functions return zero on success and nonzero on failure. .Sh EXAMPLES This example demonstrates the use of a .Vt "struct kproc_desc" diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index 266faa038322d9..d38ce52dd96f22 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -239,7 +239,7 @@ The .Fn kthread_resume , and .Fn kthread_suspend -functions return zero on success and non-zero on failure. +functions return zero on success and nonzero on failure. .Sh EXAMPLES This example demonstrates the use of a .Vt "struct kthread_desc" diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index 9cff6e3bd8aabb..c26fa56fdad76e 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -383,7 +383,7 @@ The .Fn lockmgr and .Fn lockmgr_rw -functions return 0 on success and non-zero on failure. +functions return 0 on success and nonzero on failure. .Pp The .Fn lockstatus @@ -432,7 +432,7 @@ error below. was set in the lock priority, a signal was delivered during a sleep, and the system call is to be restarted. .It Bq Er EWOULDBLOCK -a non-zero timeout was given, and the timeout expired. +a nonzero timeout was given, and the timeout expired. .El .Sh LOCKS If diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index d8759a25549265..c1133cdd6302c8 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -118,7 +118,7 @@ and .Fn malloc_domainset_aligned variants return allocations aligned as specified by .Fa align , -which must be non-zero, a power of two, and less than or equal to the page size. +which must be nonzero, a power of two, and less than or equal to the page size. .Pp Both .Fn malloc_exec diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 0262c598ed1856..8a0c73b1b31599 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -483,7 +483,7 @@ Allocate and attach an .Vt mbuf cluster to .Fa mbuf . -On success, a non-zero value returned; otherwise, 0. +On success, a nonzero value returned; otherwise, 0. Historically, consumers would check for success by testing the .Dv M_EXT flag on the mbuf, but this is now discouraged to avoid unnecessary awareness diff --git a/share/man/man9/mod_cc.9 b/share/man/man9/mod_cc.9 index 09580aa943a9de..ec8a085b9dd6ed 100644 --- a/share/man/man9/mod_cc.9 +++ b/share/man/man9/mod_cc.9 @@ -93,7 +93,7 @@ function is called when a new module is loaded into the system but before the registration process is complete. It should be implemented if a module needs to set up some global state prior to being available for use by new connections. -Returning a non-zero value from +Returning a nonzero value from .Va mod_init will cause the loading of the module to fail. .Pp @@ -122,7 +122,7 @@ function is called when a TCP control block is created. It should be implemented if a module needs to allocate memory for storing private per-connection state. -Returning a non-zero value from +Returning a nonzero value from .Va cb_init will cause the connection set up to be aborted, terminating the connection as a result. diff --git a/share/man/man9/module.9 b/share/man/man9/module.9 index 8cb558bca63124..ee1b94f4777db1 100644 --- a/share/man/man9/module.9 +++ b/share/man/man9/module.9 @@ -59,14 +59,14 @@ On unload it is first called with .Fa what set to .Dv MOD_QUIESCE . -If the unload was not forced, a non-zero return will prevent the +If the unload was not forced, a nonzero return will prevent the unload from happening. .Pp If the unload continues .Fa what is set to .Dv MOD_UNLOAD . -If the module returns non-zero to this, the unload will not happen. +If the module returns nonzero to this, the unload will not happen. .Pp The difference between .Dv MOD_QUIESCE diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index ccba09f3212f1d..6043e5c1fd0cca 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -263,7 +263,7 @@ or mutex, respectively, pointed to by .Fa mutex . If the mutex cannot be immediately acquired, the functions will return 0, -otherwise the mutex will be acquired and a non-zero value will be returned. +otherwise the mutex will be acquired and a nonzero value will be returned. .Pp The .Fn mtx_trylock_flags @@ -339,13 +339,13 @@ see .Pp The .Fn mtx_initialized -function returns non-zero if +function returns nonzero if .Fa mutex has been initialized and zero otherwise. .Pp The .Fn mtx_owned -function returns non-zero +function returns nonzero if the current thread holds .Fa mutex . If the current thread does not hold @@ -354,7 +354,7 @@ zero is returned. .Pp The .Fn mtx_recursed -function returns non-zero if the +function returns nonzero if the .Fa mutex is recursed. This check should only be made if the running thread already owns diff --git a/share/man/man9/osd.9 b/share/man/man9/osd.9 index 5e0e482914c356..a528e43c19818d 100644 --- a/share/man/man9/osd.9 +++ b/share/man/man9/osd.9 @@ -428,7 +428,7 @@ or .Pp .Fn osd_call returns zero if no method is run or the method for each slot runs successfully. -If a method for a slot returns non-zero, +If a method for a slot returns nonzero, .Fn osd_call terminates prematurely and returns the method's error to the caller. .Sh SEE ALSO diff --git a/share/man/man9/p_candebug.9 b/share/man/man9/p_candebug.9 index be4710f0a15f61..bc9fde7b58c061 100644 --- a/share/man/man9/p_candebug.9 +++ b/share/man/man9/p_candebug.9 @@ -49,7 +49,7 @@ variables directly influence the behaviour of .Fn p_candebug : .Bl -tag -width indent .It Va security.bsd.unprivileged_proc_debug -Must be set to a non-zero value to allow unprivileged processes +Must be set to a nonzero value to allow unprivileged processes access to the kernel's debug facilities. .It Va kern.securelevel Debugging of the init process is not allowed if this variable is @@ -69,7 +69,7 @@ if the process denoted by .Fa p is debuggable by thread .Fa td , -or a non-zero error return value otherwise. +or a nonzero error return value otherwise. .Sh ERRORS .Bl -tag -width Er .It Bq Er EPERM diff --git a/share/man/man9/pci.9 b/share/man/man9/pci.9 index 3c3e54bf876057..dabf50e0a0274d 100644 --- a/share/man/man9/pci.9 +++ b/share/man/man9/pci.9 @@ -999,7 +999,7 @@ device's PBA to determine the pending status of the MSI-X message at table index .Fa index . If the indicated message is pending, -this function returns a non-zero value; +this function returns a nonzero value; otherwise, it returns zero. Passing an invalid @@ -1047,7 +1047,7 @@ corresponding MSI-X table entry. If .Fn pci_remap_msix succeeds, -each MSI-X table entry with a non-zero vector will have an associated +each MSI-X table entry with a nonzero vector will have an associated .Dv SYS_RES_IRQ resource whose resource ID corresponds to the table index as described above for diff --git a/share/man/man9/pmap_kextract.9 b/share/man/man9/pmap_kextract.9 index a93bbc70b351c5..991afecc5e1a07 100644 --- a/share/man/man9/pmap_kextract.9 +++ b/share/man/man9/pmap_kextract.9 @@ -62,7 +62,7 @@ virtual address generally does not fail. However, if supplied with an illegitimate value for .Fa va , -the function may return zero, an invalid non-zero value, or call +the function may return zero, an invalid nonzero value, or call .Xr panic 9 . .Sh SEE ALSO .Xr pmap 9 , diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9 index 2d57673d0401bf..ed5579a69146be 100644 --- a/share/man/man9/psignal.9 +++ b/share/man/man9/psignal.9 @@ -107,7 +107,7 @@ to each member of the process group described by .Fa pgrp . If .Fa checkctty -is non-zero, the signal will be posted only to processes that have +is nonzero, the signal will be posted only to processes that have a controlling terminal. .Fn pgsignal is implemented by walking along the process list headed by the field diff --git a/share/man/man9/random.9 b/share/man/man9/random.9 index 7fc721564897af..778af007e05d7b 100644 --- a/share/man/man9/random.9 +++ b/share/man/man9/random.9 @@ -83,7 +83,7 @@ is seeded from the kernel abstract entropy device. Automatic reseeding happens at unspecified time and bytes (of output) intervals. -A reseed can be forced by passing a non-zero +A reseed can be forced by passing a nonzero .Fa reseed value. .Pp diff --git a/share/man/man9/ratecheck.9 b/share/man/man9/ratecheck.9 index 71f19839226f04..cbb59deaefb03c 100644 --- a/share/man/man9/ratecheck.9 +++ b/share/man/man9/ratecheck.9 @@ -51,7 +51,7 @@ function compares the current time to the value pointed to by .Fa lasttime . If the difference is equal to or greater than .Fa mininterval , -it returns a non-zero value and updates +it returns a nonzero value and updates .Fa lasttime to the current time. Otherwise, it returns zero. @@ -73,7 +73,7 @@ is incremented and is left untouched. In either case, .Nm ppsratecheck -returns a non-zero value if and only if the updated +returns a nonzero value if and only if the updated .Fa curpps is less than or equal to .Fa maxpps diff --git a/share/man/man9/rmlock.9 b/share/man/man9/rmlock.9 index 777492f89939e8..982ab27a4170e2 100644 --- a/share/man/man9/rmlock.9 +++ b/share/man/man9/rmlock.9 @@ -217,7 +217,7 @@ as a reader. .Fn rm_try_rlock will return 0 if the lock cannot be acquired immediately; otherwise, -the lock will be acquired and a non-zero value will be returned. +the lock will be acquired and a nonzero value will be returned. Note that .Fn rm_try_rlock may fail even while the lock is not currently held by a writer. @@ -252,7 +252,7 @@ The .Fa rm lock must be unlocked. .It Fn rm_wowned "const struct rmlock *rm" -This function returns a non-zero value if the current thread owns an +This function returns a nonzero value if the current thread owns an exclusive lock on .Fa rm . .It Fn rm_sleep "void *wchan" "struct rmlock *rm" "int priority" "const char *wmesg" "int timo" diff --git a/share/man/man9/runqueue.9 b/share/man/man9/runqueue.9 index 9938af8eaffaa6..e9f602a18c16d5 100644 --- a/share/man/man9/runqueue.9 +++ b/share/man/man9/runqueue.9 @@ -73,7 +73,7 @@ mutex. .Fn procrunnable returns zero if there are no runnable processes other than the idle process. If there is at least one runnable process other than the idle process, it -will return a non-zero value. +will return a nonzero value. Note that the .Va sched_lock mutex does diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 632663871c4bd7..894caf109920b1 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -221,7 +221,7 @@ This will only succeed if the current thread holds the only shared lock on and it only holds a single shared lock. If the attempt succeeds .Fn rw_try_upgrade -will return a non-zero value, +will return a nonzero value, and the current thread will hold an exclusive lock. If the attempt fails .Fn rw_try_upgrade @@ -239,7 +239,7 @@ For more details on the parameters to this function, see .Xr sleep 9 . .It Fn rw_initialized "const struct rwlock *rw" -This function returns non-zero if +This function returns nonzero if .Fa rw has been initialized, and zero otherwise. .It Fn rw_destroy "struct rwlock *rw" @@ -249,7 +249,7 @@ The .Fa rw lock must be unlocked. .It Fn rw_wowned "const struct rwlock *rw" -This function returns a non-zero value if the current thread owns an +This function returns a nonzero value if the current thread owns an exclusive lock on .Fa rw . .It Fn rw_assert "const struct rwlock *rw" "int what" diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index d4ffa050a893ac..093a906074526f 100644 --- a/share/man/man9/sbuf.9 +++ b/share/man/man9/sbuf.9 @@ -417,7 +417,7 @@ and records a pointer to be passed to the drain on callback. The drain function cannot be changed while .Fa sbuf_len -is non-zero. +is nonzero. .Pp The registered drain function .Vt sbuf_drain_func @@ -464,7 +464,7 @@ address into the .Fa sbuf . If the .Fa len -argument is non-zero, no more than +argument is nonzero, no more than .Fa len characters (not counting the terminating NUL) are copied; otherwise the entire string, or as much of it as can fit in the @@ -571,7 +571,7 @@ with an attached drain, .Fn sbuf_len returns the length of the un-drained data. .Fn sbuf_done -returns non-zero if the +returns nonzero if the .Fa sbuf is finished. .Pp @@ -690,7 +690,7 @@ all return \-1 if the buffer overflowed, and zero otherwise. .Pp The .Fn sbuf_error -function returns a non-zero value if the buffer has an overflow or +function returns a nonzero value if the buffer has an overflow or drain error, and zero otherwise. .Pp The diff --git a/share/man/man9/sema.9 b/share/man/man9/sema.9 index 5c1b9e0ee05e79..7932494e17e235 100644 --- a/share/man/man9/sema.9 +++ b/share/man/man9/sema.9 @@ -106,13 +106,13 @@ returns the current value of the semaphore. If decrementing the semaphore would result in its value being negative, .Fn sema_trywait returns 0 to indicate failure. -Otherwise, a non-zero value is returned to indicate success. +Otherwise, a nonzero value is returned to indicate success. .Pp The .Fn sema_timedwait function returns 0 if waiting on the semaphore succeeded; otherwise a -non-zero error code is returned. +nonzero error code is returned. .Sh ERRORS The .Fn sema_timedwait diff --git a/share/man/man9/signal.9 b/share/man/man9/signal.9 index a41ceea4b00a68..4866ae7a01cdc6 100644 --- a/share/man/man9/signal.9 +++ b/share/man/man9/signal.9 @@ -306,7 +306,7 @@ to the process or process group .Fa sigiop->sio_pgid . If .Fa checkctty -is non-zero, the signal is only delivered to processes in the process group +is nonzero, the signal is only delivered to processes in the process group that have a controlling terminal. If .Fa sigiop->sio_pgid @@ -418,7 +418,7 @@ The .Fn SIGSETNEQ , and .Fn SIGPENDING -macros all return non-zero (true) if the condition they are checking +macros all return nonzero (true) if the condition they are checking is found to be true; otherwise, zero (false) is returned. .Pp The diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index 10ad743c5738f1..4071950264b135 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -329,7 +329,7 @@ or if a signal is pending and .Dv PCATCH is specified, -a non-zero error code is returned. +a nonzero error code is returned. If the thread is awakened by a call to .Fn wakeup or @@ -342,7 +342,7 @@ and locking primitive sleep functions return 0. Zero can also be returned when the real-time clock is adjusted; see above regarding .Va td_rtcgen . -Otherwise, a non-zero error code is returned. +Otherwise, a nonzero error code is returned. .Sh ERRORS .Fn msleep , .Fn msleep_spin , @@ -360,7 +360,7 @@ The flag was specified, a signal was caught, and the system call should be restarted. .It Bq Er EWOULDBLOCK -A non-zero timeout was specified and the timeout expired. +A nonzero timeout was specified and the timeout expired. .El .Sh SEE ALSO .Xr ps 1 , diff --git a/share/man/man9/sleepqueue.9 b/share/man/man9/sleepqueue.9 index 6502ce37a027cf..5bbc40a0838fea 100644 --- a/share/man/man9/sleepqueue.9 +++ b/share/man/man9/sleepqueue.9 @@ -273,7 +273,7 @@ argument is used to set the priority of the thread when it is awakened. If it is set to zero, the thread's priority is left alone. .Pp When the thread is resumed, -the wait functions return a non-zero value if the thread was awakened due to +the wait functions return a nonzero value if the thread was awakened due to an interrupt other than a signal or a timeout. If the sleep timed out, then .Er EWOULDBLOCK diff --git a/share/man/man9/socket.9 b/share/man/man9/socket.9 index fb0ead0e20e120..ff5451fc1268e4 100644 --- a/share/man/man9/socket.9 +++ b/share/man/man9/socket.9 @@ -254,7 +254,7 @@ while holding the socket mutex and waiting for the .Dv SS_ISCONNECTING flag to clear or .Fa so->so_error -to become non-zero. +to become nonzero. If .Fn soconnect fails, the caller must manually clear the diff --git a/share/man/man9/stack.9 b/share/man/man9/stack.9 index c912cd309cb33e..aa682c64e2f79c 100644 --- a/share/man/man9/stack.9 +++ b/share/man/man9/stack.9 @@ -154,11 +154,11 @@ may be used to manipulate stack data structures directly. returns 0 on success. Otherwise the .Dv struct stack -does not contain space to record additional frames, and a non-zero value is +does not contain space to record additional frames, and a nonzero value is returned. .Pp .Fn stack_save_td -returns 0 when the stack capture was successful and a non-zero error number +returns 0 when the stack capture was successful and a nonzero error number otherwise. In particular, .Er EBUSY diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index ea6285b5d6a2c5..6a30c185283dc6 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -156,7 +156,7 @@ The .Fn swi_add and .Fn swi_remove -functions return zero on success and non-zero on failure. +functions return zero on success and nonzero on failure. .Sh ERRORS The .Fn swi_add diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9 index 473a47c27cf4a5..c0c6de38929399 100644 --- a/share/man/man9/sx.9 +++ b/share/man/man9/sx.9 @@ -183,19 +183,19 @@ calling and .Fn sx_try_xlock will return 0 if the shared/exclusive lock cannot be acquired immediately; -otherwise the shared/exclusive lock will be acquired and a non-zero value will +otherwise the shared/exclusive lock will be acquired and a nonzero value will be returned. .Pp .Fn sx_try_upgrade will return 0 if the shared lock cannot be upgraded to an exclusive lock -immediately; otherwise the exclusive lock will be acquired and a non-zero value +immediately; otherwise the exclusive lock will be acquired and a nonzero value will be returned. .Pp .Fn sx_slock_sig and .Fn sx_xlock_sig do the same as their normal versions but performing an interruptible sleep. -They return a non-zero value if the sleep has been interrupted by a signal +They return a nonzero value if the sleep has been interrupted by a signal or an interrupt, otherwise 0. .Pp A thread can atomically release a shared/exclusive lock while waiting for an @@ -265,7 +265,7 @@ then is returned instead. .Pp .Fn sx_xlocked -will return non-zero if the current thread holds the exclusive lock; +will return nonzero if the current thread holds the exclusive lock; otherwise, it will return zero. .Pp For ease of programming, diff --git a/share/man/man9/sysctl_add_oid.9 b/share/man/man9/sysctl_add_oid.9 index c6c41582473f6d..4e00990255a573 100644 --- a/share/man/man9/sysctl_add_oid.9 +++ b/share/man/man9/sysctl_add_oid.9 @@ -123,7 +123,7 @@ If the OID is not dynamic, or the pointer is the function returns .Er EINVAL . .It Fa del -If non-zero, +If nonzero, .Fn sysctl_remove_oid will try to free the OID's resources when the reference count of the OID becomes zero. @@ -136,7 +136,7 @@ This behaviour is useful when the caller expects to rollback (possibly partially failed) deletion of many OIDs later. .It Fa recurse -If non-zero, attempt to remove the node and all its children. +If nonzero, attempt to remove the node and all its children. If .Pa recurse is set to 0, diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9 index 5afeffcb558b59..0ffa281496395d 100644 --- a/share/man/man9/taskqueue.9 +++ b/share/man/man9/taskqueue.9 @@ -191,7 +191,7 @@ To add a task to the list of tasks queued on a taskqueue, call with pointers to the queue and task. If the task's .Va ta_pending -field is non-zero, +field is nonzero, then it is simply incremented to reflect the number of times the task was enqueued, up to a cap of USHRT_MAX. Otherwise, diff --git a/share/man/man9/tcp_functions.9 b/share/man/man9/tcp_functions.9 index 8ba7f21c978cec..84e6dc1e6ebecb 100644 --- a/share/man/man9/tcp_functions.9 +++ b/share/man/man9/tcp_functions.9 @@ -318,7 +318,7 @@ The .Fn register_tcp_functions_as_names , and .Fn deregister_tcp_functions -functions return zero on success and non-zero on failure. +functions return zero on success and nonzero on failure. In particular, the .Fn deregister_tcp_functions will return diff --git a/share/man/man9/usbdi.9 b/share/man/man9/usbdi.9 index 47034b87c8066f..94c65b58627236 100644 --- a/share/man/man9/usbdi.9 +++ b/share/man/man9/usbdi.9 @@ -153,7 +153,7 @@ is the private mutex protecting the transfer structure and the softc. This pointer is used to initialize "xfer->priv_mtx". This function returns zero upon success. -A non-zero return value indicates failure. +A nonzero return value indicates failure. . .Pp . @@ -436,7 +436,7 @@ pre-delay has elapsed! . .Pp .Fa timeout -field, if non-zero, will set the transfer timeout in milliseconds. +field, if nonzero, will set the transfer timeout in milliseconds. If the "timeout" field is zero and the transfer type is ISOCHRONOUS a timeout of 250ms will be used. . diff --git a/share/man/man9/vaccess.9 b/share/man/man9/vaccess.9 index fe9a37d1535809..98a87e2e3da73c 100644 --- a/share/man/man9/vaccess.9 +++ b/share/man/man9/vaccess.9 @@ -91,7 +91,7 @@ then super-user privilege, if available for the credential, will also be considered. .Sh RETURN VALUES .Fn vaccess -will return 0 on success, or a non-zero error value on failure. +will return 0 on success, or a nonzero error value on failure. .Sh ERRORS .Bl -tag -width Er .It Bq Er EACCES diff --git a/share/man/man9/vaccess_acl_nfs4.9 b/share/man/man9/vaccess_acl_nfs4.9 index 76cedc3466e9e9..c5e14686fde969 100644 --- a/share/man/man9/vaccess_acl_nfs4.9 +++ b/share/man/man9/vaccess_acl_nfs4.9 @@ -101,7 +101,7 @@ then super-user privilege, if available for the credential, will also be considered. .Sh RETURN VALUES .Fn vaccess_acl_nfs4 -will return 0 on success, or a non-zero error value on failure. +will return 0 on success, or a nonzero error value on failure. .Sh ERRORS .Bl -tag -width Er .It Bq Er EACCES diff --git a/share/man/man9/vaccess_acl_posix1e.9 b/share/man/man9/vaccess_acl_posix1e.9 index 5b61a00e0c1318..1ccad2e0d0ed13 100644 --- a/share/man/man9/vaccess_acl_posix1e.9 +++ b/share/man/man9/vaccess_acl_posix1e.9 @@ -100,7 +100,7 @@ then super-user privilege, if available for the credential, will also be considered. .Sh RETURN VALUES .Fn vaccess_acl_posix1e -will return 0 on success, or a non-zero error value on failure. +will return 0 on success, or a nonzero error value on failure. .Sh ERRORS .Bl -tag -width Er .It Bq Er EACCES diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9 index 8bfc50681c7d3a..414492120a090a 100644 --- a/share/man/man9/vget.9 +++ b/share/man/man9/vget.9 @@ -43,7 +43,7 @@ Get a vnode from the free list and increment its reference count. .It Fa vp The vnode to remove from the free list. .It Fa lockflag -If non-zero, the vnode will also be locked. +If nonzero, the vnode will also be locked. .El .Pp When not in use, vnodes are kept on a free list. diff --git a/share/man/man9/vm_map_find.9 b/share/man/man9/vm_map_find.9 index 0a961dfa34752f..966a1b3d02c6cc 100644 --- a/share/man/man9/vm_map_find.9 +++ b/share/man/man9/vm_map_find.9 @@ -72,7 +72,7 @@ by the caller before calling this function to account for the new entry. .Pp If .Fa max_addr -is non-zero, +is nonzero, it specifies an upper bound on the mapping. The mapping will only succeed if a free region can be found that resides entirely below diff --git a/share/man/man9/vm_page_alloc.9 b/share/man/man9/vm_page_alloc.9 index 4bf8db33a28d66..9a04272594b690 100644 --- a/share/man/man9/vm_page_alloc.9 +++ b/share/man/man9/vm_page_alloc.9 @@ -187,7 +187,7 @@ parameter specifies the requested alignment of the first page in the run and must be a power of two. If the .Fa boundary -parameter is non-zero, the pages constituting the run will not cross a +parameter is nonzero, the pages constituting the run will not cross a physical address that is a multiple of the parameter value, which must be a power of two. If diff --git a/share/man/man9/vm_page_busy.9 b/share/man/man9/vm_page_busy.9 index ee8ca7e1f32932..e02d7c420799fc 100644 --- a/share/man/man9/vm_page_busy.9 +++ b/share/man/man9/vm_page_busy.9 @@ -90,7 +90,7 @@ This makes the vm_object lock a real busy interlock. .Pp The .Fn vm_page_busied -function returns non-zero if the current thread busied +function returns nonzero if the current thread busied .Fa m in either exclusive or shared mode. Returns zero otherwise. @@ -126,7 +126,7 @@ is a string describing the sleep condition for userland tools. .Pp The .Fn vm_page_busied -function returns non-zero if the current thread busied +function returns nonzero if the current thread busied .Fa m in shared mode. Returns zero otherwise. @@ -142,7 +142,7 @@ attempts to shared busy .Fa m . If the operation cannot immediately succeed .Fn vm_page_trysbusy -returns 0, otherwise a non-zero value is returned. +returns 0, otherwise a nonzero value is returned. .Pp The .Fn vm_page_tryxbusy @@ -150,11 +150,11 @@ attempts to exclusive busy .Fa m . If the operation cannot immediately succeed .Fn vm_page_tryxbusy -returns 0, otherwise a non-zero value is returned. +returns 0, otherwise a nonzero value is returned. .Pp The .Fn vm_page_xbusied -function returns non-zero if the current thread busied +function returns nonzero if the current thread busied .Fa m in exclusive mode. Returns zero otherwise. diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9 index 01a6a895147419..a367dfab49227d 100644 --- a/share/man/man9/vrele.9 +++ b/share/man/man9/vrele.9 @@ -86,7 +86,7 @@ function may lock the vnode. All three functions may sleep. .Pp The hold count for the vnode is always greater or equal to the usecount. -Non-forced unmount fails when mount point owns a vnode that has non-zero +Non-forced unmount fails when mount point owns a vnode that has nonzero usecount, see .Xr vflush 9 . .Sh SEE ALSO