mdoc(7) fixes.

This commit is contained in:
Ruslan Ermilov 2004-07-07 19:57:16 +00:00
parent 719f27a9f3
commit 2410103c1d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131754
20 changed files with 54 additions and 39 deletions

View File

@ -113,8 +113,9 @@ from the list.
.Sh RETURN VALUES .Sh RETURN VALUES
The The
.Fn getenv .Fn getenv
function returns the value of the environment variable as a nul terminated function returns the value of the environment variable as a
string. .Dv NUL Ns
-terminated string.
If the variable If the variable
.Fa name .Fa name
is not in the current environment, is not in the current environment,

View File

@ -167,9 +167,12 @@ The user must be specified by name, not a numeric UID.
.It Fl U Ar umask .It Fl U Ar umask
Set the Set the
.Ar umask .Ar umask
for newly created files. The default is 022 (S_IWGRP|S_IWOTH). for newly created files.
The default is 022
.Pq Dv S_IWGRP | S_IWOTH .
.It Fl w .It Fl w
Allow writes requests to create new files. By default Allow writes requests to create new files.
By default
.Nm .Nm
requires that the file specified in a write request exist. requires that the file specified in a write request exist.
.El .El

View File

@ -112,7 +112,9 @@ config files.
.Pp .Pp
All messages that All messages that
.Nm .Nm
receives are forwarded to the unix domain socket at receives are forwarded to the
.Ux
domain socket at
.Pa /var/run/devd.pipe . .Pa /var/run/devd.pipe .
.Sh SEE ALSO .Sh SEE ALSO
.Xr devctl 4 , .Xr devctl 4 ,

View File

@ -19,7 +19,7 @@
.Op Fl s Ar string .Op Fl s Ar string
.Op Ar .Op Ar
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm md5 , sha1 .Nm md5 , sha1
and and
.Nm rmd160 .Nm rmd160

View File

@ -859,7 +859,7 @@ assigning each element in turn to
However, unlike their unsafe counterparts, However, unlike their unsafe counterparts,
.Nm TAILQ_FOREACH .Nm TAILQ_FOREACH
and and
.Nm TAILQ_FOREACH_REVERSE .Nm TAILQ_FOREACH_REVERSE
permit to both remove permit to both remove
.Fa var .Fa var
as well as free it from within the loop safely without interfering with the as well as free it from within the loop safely without interfering with the

View File

@ -214,16 +214,16 @@ enabled, there is a BIOS blacklist.
Currently, the blacklist only controls whether Currently, the blacklist only controls whether
.Nm .Nm
should be disabled or not. should be disabled or not.
In the future, it will have more granularity to control features (the In the future, it will have more granularity to control features (the
infrastructure for that is already there). infrastructure for that is already there).
.Pp .Pp
To enable To enable
.Nm .Nm
(for debugging purposes, etc.) on machines that are on the blacklist, set the (for debugging purposes, etc.) on machines that are on the blacklist, set the
kernel environment variable kernel environment variable
.Va hint.acpi.0.disabled .Va hint.acpi.0.disabled
to 0. to 0.
Before trying this, consider updating your BIOS to a more recent version that Before trying this, consider updating your BIOS to a more recent version that
may be compatible with ACPI. may be compatible with ACPI.
.Pp .Pp
To disable the To disable the
@ -349,7 +349,7 @@ Name of the DSDT table to load, if loading is enabled.
Selectively disables portions of ACPI for debugging purposes. Selectively disables portions of ACPI for debugging purposes.
.It Va hint.acpi.0.disabled .It Va hint.acpi.0.disabled
Set this to 1 to disable all of ACPI. Set this to 1 to disable all of ACPI.
If ACPI has been disabled on your system due to a blacklist entry for your If ACPI has been disabled on your system due to a blacklist entry for your
BIOS, you can set this to 0 to re-enable ACPI for testing. BIOS, you can set this to 0 to re-enable ACPI for testing.
.It Va hw.acpi.ec.poll_timeout .It Va hw.acpi.ec.poll_timeout
Delay in milliseconds to wait for the EC to respond. Delay in milliseconds to wait for the EC to respond.

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd November 14, 2003 .Dd June 24, 2004
.Dt PCM 4 .Dt PCM 4
.Os .Os
.Sh NAME .Sh NAME

View File

@ -106,7 +106,7 @@ upgrades from older versions of
.It Va CFLAGS .It Va CFLAGS
.Pq Vt str .Pq Vt str
Controls the compiler setting when compiling C code. Controls the compiler setting when compiling C code.
Optimization levels others than Optimization levels other than
.Fl O .Fl O
and and
.Fl O2 .Fl O2
@ -509,7 +509,7 @@ and related programs.
.Pq Vt bool .Pq Vt bool
Set to not build Set to not build
.Xr acpiconf 8 , .Xr acpiconf 8 ,
.Xr acpidump 8 .Xr acpidump 8
and related programs. and related programs.
.It Va NO_VINUM .It Va NO_VINUM
.Pq Vt bool .Pq Vt bool

View File

@ -32,7 +32,7 @@
.\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE .\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
.\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd January 22, 1998 .Dd June 21, 2004
.Dt NSSWITCH.CONF 5 .Dt NSSWITCH.CONF 5
.Os .Os
.Sh NAME .Sh NAME

View File

@ -564,7 +564,7 @@ is unnecessary, but is often included.
.It Pa /var/run/dmesg.boot .It Pa /var/run/dmesg.boot
.Xr dmesg 1 .Xr dmesg 1
results soon after the results soon after the
.Nm .Nm
process begins. process begins.
Useful when dmesg buffer in the kernel no longer has this information. Useful when dmesg buffer in the kernel no longer has this information.
.El .El

View File

@ -100,7 +100,9 @@ specifies the minimum time in ticks to wait before returning with failure.
.Fn sema_value .Fn sema_value
is used to read the current value of the semaphore. is used to read the current value of the semaphore.
.Sh RETURN VALUES .Sh RETURN VALUES
The
.Fn sema_value .Fn sema_value
function
returns the current value of the semaphore. returns the current value of the semaphore.
.Pp .Pp
If decrementing the semaphore would result in its value being negative, If decrementing the semaphore would result in its value being negative,
@ -108,12 +110,15 @@ If decrementing the semaphore would result in its value being negative,
returns 0 to indicate failure. returns 0 to indicate failure.
Otherwise, a non-zero value is returned to indicate success. Otherwise, a non-zero value is returned to indicate success.
.Pp .Pp
The
.Fn sema_timedwait .Fn sema_timedwait
function
returns 0 if waiting on the semaphore succeeded; otherwise a returns 0 if waiting on the semaphore succeeded; otherwise a
non-zero error code is returned. non-zero error code is returned.
.Sh ERRORS .Sh ERRORS
The
.Fn sema_timedwait .Fn sema_timedwait
will fail if: function will fail if:
.Bl -tag -width Er .Bl -tag -width Er
.It Bq Er EWOULDBLOCK .It Bq Er EWOULDBLOCK
Timeout expired. Timeout expired.

View File

@ -387,8 +387,8 @@ Defaults to
.Dq Li "${currdev}>" . .Dq Li "${currdev}>" .
.It Va root_disk_unit .It Va root_disk_unit
If the code which detects the disk unit number for the root disk is If the code which detects the disk unit number for the root disk is
confused, e.g. by a mix of SCSI and IDE disks, or IDE disks with confused, e.g.\& by a mix of SCSI and IDE disks, or IDE disks with
gaps in the sequence (e.g. no primary slave), the unit number can gaps in the sequence (e.g.\& no primary slave), the unit number can
be forced by setting this variable. be forced by setting this variable.
.It Va rootdev .It Va rootdev
By default the value of By default the value of

View File

@ -58,7 +58,7 @@
The The
.Nm .Nm
utility selects portions of each line (as specified by utility selects portions of each line (as specified by
.Ar list ) .Ar list )
from each from each
.Ar file .Ar file
and writes them to the standard output. and writes them to the standard output.

View File

@ -276,11 +276,11 @@ same as the
option. option.
.It Ic -depth Ar n .It Ic -depth Ar n
True if the depth of the file relative to the starting point of the traversal True if the depth of the file relative to the starting point of the traversal
is is
.Ar n . .Ar n .
.It Ic -empty .It Ic -empty
True if the current file or directory is empty. True if the current file or directory is empty.
.It Ic -exec Ar utility Oo Ar argument ... Oc Li \&; .It Ic -exec Ar utility Oo Ar argument ... Oc Li \&;
True if the program named True if the program named
.Ar utility .Ar utility
returns a zero value as its exit status. returns a zero value as its exit status.

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd April 1, 2002 .Dd May 5, 2004
.Dt KTRDUMP 8 .Dt KTRDUMP 8
.Os .Os
.Sh NAME .Sh NAME
@ -49,7 +49,7 @@ Print the CPU number that each entry was logged from.
.It Fl f .It Fl f
Print the file and line number that each entry was logged from. Print the file and line number that each entry was logged from.
.It Fl q .It Fl q
Quiet mode; don't print the column header. Quiet mode; do not print the column header.
.It Fl r .It Fl r
Print relative timestamps rather than absolute timestamps. Print relative timestamps rather than absolute timestamps.
.It Fl t .It Fl t

View File

@ -59,7 +59,7 @@ of empty lines.
.Pp .Pp
The options are as follows: The options are as follows:
.Bl -tag -width Fl .Bl -tag -width Fl
.It Fl d Ar list .It Fl d Ar list
Use one or more of the provided characters to replace the newline Use one or more of the provided characters to replace the newline
characters instead of the default tab. characters instead of the default tab.
The characters in The characters in

View File

@ -83,7 +83,7 @@ Specify which
.Sq boot0 .Sq boot0
image to use. image to use.
The default is The default is
.Pa /boot/boot0 .Pa /boot/boot0
which will use the video card as output, alternatively which will use the video card as output, alternatively
.Pa /boot/boot0sio .Pa /boot/boot0sio
can be used for output to the COM1 port. can be used for output to the COM1 port.

View File

@ -52,7 +52,7 @@ Change the current working directory to the root
Redirect standard input, standard output and standard error to Redirect standard input, standard output and standard error to
.Pa /dev/null . .Pa /dev/null .
.It Fl p Ar file .It Fl p Ar file
Write the id of the created process into the Write the ID of the created process into the
.Ar file . .Ar file .
Note, that the file will be created shortly before the process is Note, that the file will be created shortly before the process is
actually executed, and will remain after the process exits (although actually executed, and will remain after the process exits (although
@ -63,7 +63,9 @@ The
.Nm .Nm
utility exits 1 if an error is returned by the utility exits 1 if an error is returned by the
.Xr daemon 3 .Xr daemon 3
library routine, 2 if the pid-file is requested, but can not be opened, library routine, 2 if the
.Ar pidfile
is requested, but cannot be opened,
otherwise 0. otherwise 0.
If the command cannot be executed, an error message is displayed on If the command cannot be executed, an error message is displayed on
standard error unless the standard error unless the

View File

@ -69,17 +69,18 @@
.Ek .Ek
.\" .\"
.Sh DESCRIPTION .Sh DESCRIPTION
The
.Nm .Nm
utility
uses the IPv6 protocol hop limit field to elicit an ICMPv6 TIME_EXCEEDED uses the IPv6 protocol hop limit field to elicit an ICMPv6 TIME_EXCEEDED
response from each gateway along the path to some host. response from each gateway along the path to some host.
.Pp .Pp
The only mandatory parameter is the destination host name or IPv6 address. The only mandatory parameter is the destination host name or IPv6 address.
The default probe datagram carries 12 bytes of payload, The default probe datagram carries 12 bytes of payload,
in addition to the IPv6 header. in addition to the IPv6 header.
The size of the payload can be specified by giving a length The size of the payload can be specified by giving a length
.Po in bytes (in bytes)
.Pc after the destination host name.
after the destination host name.
.Pp .Pp
Other options are: Other options are:
.Bl -tag -width Ds .Bl -tag -width Ds
@ -123,21 +124,20 @@ Be verbose.
Specify the delay time between probes. Specify the delay time between probes.
.El .El
.Pp .Pp
This program prints the route to the given destination and the round-trip This program prints the route to the given destination and the round-trip
time to each gateway, in the same manner as traceroute. time to each gateway, in the same manner as traceroute.
.Pp .Pp
Here is a list of possible annotations after the round-trip time for each gateway: Here is a list of possible annotations after the round-trip time for each gateway:
.Pp
.Bl -hang -offset indent .Bl -hang -offset indent
.It !N .It !N
Destination Unreachable - No Route to Host. Destination Unreachable - No Route to Host.
.It !P .It !P
Destination Unreachable - Administratively Prohibited. Destination Unreachable - Administratively Prohibited.
.It !S .It !S
Destination Unreachable - Not a Neighbour. Destination Unreachable - Not a Neighbour.
.It !A .It !A
Destination Unreachable - Address Unreachable. Destination Unreachable - Address Unreachable.
.It ! .It !\&
This is printed if the hop limit is <= 1 on a port unreachable message. This is printed if the hop limit is <= 1 on a port unreachable message.
This means that the packet got to the destination, This means that the packet got to the destination,
but that the reply had a hop limit that was just large enough to but that the reply had a hop limit that was just large enough to

View File

@ -42,10 +42,12 @@ utility can be used to control the kernel's watchdog facility.
.Pp .Pp
The The
.Fl d .Fl d
option
enables debugging. enables debugging.
.Pp .Pp
The The
.Fl t Ar timeout .Fl t Ar timeout
option
specifies the desired timeout period in seconds, a value of specifies the desired timeout period in seconds, a value of
zero will disable the watchdog. zero will disable the watchdog.
.Sh SEE ALSO .Sh SEE ALSO