diff options
author | ru <ru@FreeBSD.org> | 2000-11-17 11:44:16 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-17 11:44:16 +0000 |
commit | eb8c554f56d74fc1b61cf818ef6ad426a3464a9b (patch) | |
tree | 498d08af61275dfb567e0f1c83912aee9e3d5217 /lib | |
parent | dd1ebedcff39ca8f96beb0a0e42f0574f6e266d6 (diff) | |
download | FreeBSD-src-eb8c554f56d74fc1b61cf818ef6ad426a3464a9b.zip FreeBSD-src-eb8c554f56d74fc1b61cf818ef6ad426a3464a9b.tar.gz |
mdoc(7) police: use certified section headers wherever possible.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/compat-43/sigvec.2 | 2 | ||||
-rw-r--r-- | lib/libc/gen/basename.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/dirname.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/popen.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/shm_open.3 | 2 | ||||
-rw-r--r-- | lib/libc/i386/sys/i386_get_ldt.2 | 2 | ||||
-rw-r--r-- | lib/libc/nls/catopen.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdlib/getsubopt.3 | 2 | ||||
-rw-r--r-- | lib/libc/string/memset.3 | 2 | ||||
-rw-r--r-- | lib/libc/string/strtok.3 | 2 | ||||
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sched_get_priority_max.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/sched_setparam.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sched_setscheduler.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sched_yield.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/shm_open.2 | 2 | ||||
-rw-r--r-- | lib/libusb/usb.3 | 2 | ||||
-rw-r--r-- | lib/libusbhid/usb.3 | 2 | ||||
-rw-r--r-- | lib/libusbhid/usbhid.3 | 2 |
21 files changed, 22 insertions, 22 deletions
diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2 index de665e4..4296d03 100644 --- a/lib/libc/compat-43/sigvec.2 +++ b/lib/libc/compat-43/sigvec.2 @@ -296,7 +296,7 @@ or .Xr signal 3 , .Xr sigsetops 3 , .Xr tty 4 -.Sh EXAMPLE +.Sh EXAMPLES On the .Tn VAX\-11 The handler routine can be declared: diff --git a/lib/libc/gen/basename.3 b/lib/libc/gen/basename.3 index 7ed2b1f..c6192d9 100644 --- a/lib/libc/gen/basename.3 +++ b/lib/libc/gen/basename.3 @@ -95,5 +95,5 @@ The .Fn basename function first appeared in .Ox 2.2 . -.Sh AUTHOR +.Sh AUTHORS Todd C. Miller <Todd.Miller@courtesan.com> diff --git a/lib/libc/gen/dirname.3 b/lib/libc/gen/dirname.3 index f209019..df74907 100644 --- a/lib/libc/gen/dirname.3 +++ b/lib/libc/gen/dirname.3 @@ -102,5 +102,5 @@ The .Fn dirname function first appeared in .Ox 2.2 . -.Sh AUTHOR +.Sh AUTHORS Todd C. Miller <Todd.Miller@courtesan.com> diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3 index 035bf14..c05978e 100644 --- a/lib/libc/gen/popen.3 +++ b/lib/libc/gen/popen.3 @@ -123,7 +123,7 @@ function waits for the associated process to terminate and returns the exit status of the command as returned by .Fn wait4 . -.Sh RETURN VALUE +.Sh RETURN VALUES The .Fn popen function returns diff --git a/lib/libc/gen/shm_open.3 b/lib/libc/gen/shm_open.3 index 1c71772..cbd4dc7 100644 --- a/lib/libc/gen/shm_open.3 +++ b/lib/libc/gen/shm_open.3 @@ -100,7 +100,7 @@ The function makes no effort to ensure that .Fa path refers to a shared memory object. -.Sh PORTABILITY +.Sh COMPATIBILITY The .Fa path argument does not necessarily represent a pathname (although it does in this diff --git a/lib/libc/i386/sys/i386_get_ldt.2 b/lib/libc/i386/sys/i386_get_ldt.2 index 5aec1bf..d6743c4 100644 --- a/lib/libc/i386/sys/i386_get_ldt.2 +++ b/lib/libc/i386/sys/i386_get_ldt.2 @@ -98,7 +98,7 @@ or The caller attempted to use a descriptor that would circumvent protection or cause a failure. .El -.Sh REFERENCES +.Sh SEE ALSO i386 Microprocessor Programmer's Reference Manual, Intel .Sh WARNING You can really hose your process using this. diff --git a/lib/libc/nls/catopen.3 b/lib/libc/nls/catopen.3 index 272fe7e..68cf893 100644 --- a/lib/libc/nls/catopen.3 +++ b/lib/libc/nls/catopen.3 @@ -123,7 +123,7 @@ remains valid in a process until that process closes it, or until a successful call to one of the .Xr exec 3 function. -.Sh RETURN VALUE +.Sh RETURN VALUES Upon successful completion, .Fn catopen returns a message catalog descriptor. diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index ec504fe..1614924 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -172,7 +172,7 @@ function multiple times. This is an extension to the .St -p1003.2 specification. -.Sh EXAMPLE +.Sh EXAMPLES .Bd -literal -compact int bflag, ch, fd; diff --git a/lib/libc/stdlib/getsubopt.3 b/lib/libc/stdlib/getsubopt.3 index 550cfb3..1efd64e 100644 --- a/lib/libc/stdlib/getsubopt.3 +++ b/lib/libc/stdlib/getsubopt.3 @@ -95,7 +95,7 @@ The argument will be set to point to the ``value'' portion of the token, or .Dv NULL if no ``value'' portion was present. -.Sh EXAMPLE +.Sh EXAMPLES .Bd -literal -compact char *tokens[] = { #define ONE 0 diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3 index 6e78670..2a1253e 100644 --- a/lib/libc/string/memset.3 +++ b/lib/libc/string/memset.3 @@ -58,7 +58,7 @@ bytes of value .Fa c (converted to an unsigned char) to the string .Fa b . -.Sh RETURNS +.Sh RETURN VALUES The .Fn memset function returns its first argument. diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3 index ae0c21c..9f03459 100644 --- a/lib/libc/string/strtok.3 +++ b/lib/libc/string/strtok.3 @@ -111,7 +111,7 @@ after replacing the token itself with a .Dv NUL character. When no more tokens remain, a null pointer is returned. -.Sh EXAMPLE +.Sh EXAMPLES The following uses .Fn strtok_r to parse two strings using separate contexts: diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index e842159..8b5e244 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -93,7 +93,7 @@ The resolution (granularity) of a clock is returned by the .Fn clock_getres call. This value is placed in a (non-NULL) .Fa *tp . -.Sh RETURN +.Sh RETURN VALUES A 0 return value indicates that the call succeeded. A -1 return value indicates an error occurred, and in this case an error code is stored into the global variable diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 36dfe60..d427724 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -107,7 +107,7 @@ from setting arbitrary time stamps on files. The system time can still be adjusted backwards using the .Xr adjtime 2 system call even when the system is secure. -.Sh RETURN +.Sh RETURN VALUES A 0 return value indicates that the call succeeded. A -1 return value indicates an error occurred, and in this case an error code is stored into the global variable diff --git a/lib/libc/sys/sched_get_priority_max.2 b/lib/libc/sys/sched_get_priority_max.2 index e98fa38d..c141da4 100644 --- a/lib/libc/sys/sched_get_priority_max.2 +++ b/lib/libc/sys/sched_get_priority_max.2 @@ -75,13 +75,13 @@ The standard time sharing scheduler; .It Bq Er SCHED_RR Round-robin scheduling across same priority processes. .El -.Sh RETURN +.Sh RETURN VALUES If successful, the .Fn sched_get_priority_max and .Fn sched_get_priority_min functions shall return the appropriate maximum or minimum values, -respectively. If unsuccessful, the shall return a value of -1 and set +respectively. If unsuccessful, they shall return a value of -1 and set .Fa errno to indicate the error. .Pp diff --git a/lib/libc/sys/sched_setparam.2 b/lib/libc/sys/sched_setparam.2 index 879a250..ed24058 100644 --- a/lib/libc/sys/sched_setparam.2 +++ b/lib/libc/sys/sched_setparam.2 @@ -133,7 +133,7 @@ returned. In this implementation, the function will fail if .Fa pid is negative. -.Sh RETURN +.Sh RETURN VALUES The function will return zero if it completes successfully, or it will return a value of -1 and set .Va errno diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2 index b8be523..6679699 100644 --- a/lib/libc/sys/sched_setscheduler.2 +++ b/lib/libc/sys/sched_setscheduler.2 @@ -128,7 +128,7 @@ returned. In this implementation, the function will fail if .Fa pid is negative. -.Sh RETURN +.Sh RETURN VALUES The function will return zero if it completes successfully, or it will return a value of -1 and set .Va errno diff --git a/lib/libc/sys/sched_yield.2 b/lib/libc/sys/sched_yield.2 index 4f3fc4e..4736488 100644 --- a/lib/libc/sys/sched_yield.2 +++ b/lib/libc/sys/sched_yield.2 @@ -40,7 +40,7 @@ The .Fn sched_yield function forces the running process to relinquish the processor until it again becomes the head of its process list. It takes no arguments. -.Sh RETURN +.Sh RETURN VALUES The .Fn sched_yield function will return zero if it completes successfully, or it diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index 1c71772..cbd4dc7 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -100,7 +100,7 @@ The function makes no effort to ensure that .Fa path refers to a shared memory object. -.Sh PORTABILITY +.Sh COMPATIBILITY The .Fa path argument does not necessarily represent a pathname (although it does in this diff --git a/lib/libusb/usb.3 b/lib/libusb/usb.3 index c16738b..68d658e 100644 --- a/lib/libusb/usb.3 +++ b/lib/libusb/usb.3 @@ -190,7 +190,7 @@ function extracts the value of the item. Conversely .Fn hid_set_data can be used to put data into a report (which must be zeroed first). -.Sh EXAMPLE +.Sh EXAMPLES Not yet. .Sh FILES .Pa /usr/share/misc/usb_hid_usages diff --git a/lib/libusbhid/usb.3 b/lib/libusbhid/usb.3 index c16738b..68d658e 100644 --- a/lib/libusbhid/usb.3 +++ b/lib/libusbhid/usb.3 @@ -190,7 +190,7 @@ function extracts the value of the item. Conversely .Fn hid_set_data can be used to put data into a report (which must be zeroed first). -.Sh EXAMPLE +.Sh EXAMPLES Not yet. .Sh FILES .Pa /usr/share/misc/usb_hid_usages diff --git a/lib/libusbhid/usbhid.3 b/lib/libusbhid/usbhid.3 index c16738b..68d658e 100644 --- a/lib/libusbhid/usbhid.3 +++ b/lib/libusbhid/usbhid.3 @@ -190,7 +190,7 @@ function extracts the value of the item. Conversely .Fn hid_set_data can be used to put data into a report (which must be zeroed first). -.Sh EXAMPLE +.Sh EXAMPLES Not yet. .Sh FILES .Pa /usr/share/misc/usb_hid_usages |