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

@ -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

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

@ -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

@ -280,7 +280,7 @@ 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

@ -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,7 +69,9 @@
.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
@ -77,8 +79,7 @@ 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:
@ -127,17 +128,16 @@ 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