mdoc(7) fixes.

This commit is contained in:
Ruslan Ermilov 2004-07-07 19:57:16 +00:00
parent 719f27a9f3
commit 2410103c1d
20 changed files with 54 additions and 39 deletions

View File

@ -113,8 +113,9 @@ from the list.
.Sh RETURN VALUES
The
.Fn getenv
function returns the value of the environment variable as a nul terminated
string.
function returns the value of the environment variable as a
.Dv NUL Ns
-terminated string.
If the variable
.Fa name
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
Set the
.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
Allow writes requests to create new files. By default
Allow writes requests to create new files.
By default
.Nm
requires that the file specified in a write request exist.
.El

View File

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

View File

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

View File

@ -859,7 +859,7 @@ assigning each element in turn to
However, unlike their unsafe counterparts,
.Nm TAILQ_FOREACH
and
.Nm TAILQ_FOREACH_REVERSE
.Nm TAILQ_FOREACH_REVERSE
permit to both remove
.Fa var
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
.Nm
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).
.Pp
To enable
.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
.Va hint.acpi.0.disabled
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.
.Pp
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.
.It Va hint.acpi.0.disabled
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.
.It Va hw.acpi.ec.poll_timeout
Delay in milliseconds to wait for the EC to respond.

View File

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

View File

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

View File

@ -32,7 +32,7 @@
.\" 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.
.\"
.Dd January 22, 1998
.Dd June 21, 2004
.Dt NSSWITCH.CONF 5
.Os
.Sh NAME

View File

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

View File

@ -100,7 +100,9 @@ specifies the minimum time in ticks to wait before returning with failure.
.Fn sema_value
is used to read the current value of the semaphore.
.Sh RETURN VALUES
The
.Fn sema_value
function
returns the current value of the semaphore.
.Pp
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.
Otherwise, a non-zero 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.
.Sh ERRORS
The
.Fn sema_timedwait
will fail if:
function will fail if:
.Bl -tag -width Er
.It Bq Er EWOULDBLOCK
Timeout expired.

View File

@ -387,8 +387,8 @@ Defaults to
.Dq Li "${currdev}>" .
.It Va root_disk_unit
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
gaps in the sequence (e.g. no primary slave), the unit number can
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
be forced by setting this variable.
.It Va rootdev
By default the value of

View File

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

View File

@ -276,11 +276,11 @@ same as the
option.
.It Ic -depth Ar n
True if the depth of the file relative to the starting point of the traversal
is
is
.Ar n .
.It Ic -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
.Ar utility
returns a zero value as its exit status.

View File

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

View File

@ -59,7 +59,7 @@ of empty lines.
.Pp
The options are as follows:
.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
characters instead of the default tab.
The characters in

View File

@ -83,7 +83,7 @@ Specify which
.Sq boot0
image to use.
The default is
.Pa /boot/boot0
.Pa /boot/boot0
which will use the video card as output, alternatively
.Pa /boot/boot0sio
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
.Pa /dev/null .
.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 .
Note, that the file will be created shortly before the process is
actually executed, and will remain after the process exits (although
@ -63,7 +63,9 @@ The
.Nm
utility exits 1 if an error is returned by the
.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.
If the command cannot be executed, an error message is displayed on
standard error unless the

View File

@ -69,17 +69,18 @@
.Ek
.\"
.Sh DESCRIPTION
The
.Nm
utility
uses the IPv6 protocol hop limit field to elicit an ICMPv6 TIME_EXCEEDED
response from each gateway along the path to some host.
.Pp
The only mandatory parameter is the destination host name or IPv6 address.
The default probe datagram carries 12 bytes of payload,
in addition to the IPv6 header.
The size of the payload can be specified by giving a length
.Po in bytes
.Pc
after the destination host name.
The size of the payload can be specified by giving a length
(in bytes)
after the destination host name.
.Pp
Other options are:
.Bl -tag -width Ds
@ -123,21 +124,20 @@ Be verbose.
Specify the delay time between probes.
.El
.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.
.Pp
Here is a list of possible annotations after the round-trip time for each gateway:
.Pp
.Bl -hang -offset indent
.It !N
.It !N
Destination Unreachable - No Route to Host.
.It !P
.It !P
Destination Unreachable - Administratively Prohibited.
.It !S
.It !S
Destination Unreachable - Not a Neighbour.
.It !A
.It !A
Destination Unreachable - Address Unreachable.
.It !
.It !\&
This is printed if the hop limit is <= 1 on a port unreachable message.
This means that the packet got to the destination,
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
The
.Fl d
option
enables debugging.
.Pp
The
.Fl t Ar timeout
option
specifies the desired timeout period in seconds, a value of
zero will disable the watchdog.
.Sh SEE ALSO