mdoc(7) police: use the new features of the Nm macro.
This commit is contained in:
parent
06525b98f2
commit
3b8ecdbbbe
@ -56,7 +56,7 @@
|
||||
.Fn fts_close "FTS *ftsp"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions are provided for traversing
|
||||
.Tn UNIX
|
||||
file hierarchies.
|
||||
@ -66,7 +66,7 @@ function returns a
|
||||
.Dq handle
|
||||
on a file hierarchy, which is then supplied to
|
||||
the other
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions.
|
||||
The function
|
||||
.Fn fts_read
|
||||
@ -262,13 +262,13 @@ field are undefined.
|
||||
.It Fa fts_number
|
||||
This field is provided for the use of the application program and is
|
||||
not modified by the
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions.
|
||||
It is initialized to 0.
|
||||
.It Fa fts_pointer
|
||||
This field is provided for the use of the application program and is
|
||||
not modified by the
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions.
|
||||
It is initialized to
|
||||
.Dv NULL .
|
||||
@ -368,7 +368,7 @@ followed immediately whether or not
|
||||
is also specified.
|
||||
.It Dv FTS_LOGICAL
|
||||
This option causes the
|
||||
.Nm fts
|
||||
.Nm
|
||||
routines to return
|
||||
.Fa FTSENT
|
||||
structures for the targets of symbolic links
|
||||
@ -387,14 +387,14 @@ be provided to the
|
||||
function.
|
||||
.It Dv FTS_NOCHDIR
|
||||
As a performance optimization, the
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions change directories as they walk the file hierarchy.
|
||||
This has the side-effect that an application cannot rely on being
|
||||
in any particular directory during the traversal.
|
||||
The
|
||||
.Dv FTS_NOCHDIR
|
||||
option turns off this optimization, and the
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions will not change the current directory.
|
||||
Note that applications should not themselves change their current directory
|
||||
and try to access files unless
|
||||
@ -410,7 +410,7 @@ structures reference file characteristic information (the
|
||||
field) for each file visited.
|
||||
This option relaxes that requirement as a performance optimization,
|
||||
allowing the
|
||||
.Nm fts
|
||||
.Nm
|
||||
functions to set the
|
||||
.Fa fts_info
|
||||
field to
|
||||
@ -420,7 +420,7 @@ and leave the contents of the
|
||||
field undefined.
|
||||
.It Dv FTS_PHYSICAL
|
||||
This option causes the
|
||||
.Nm fts
|
||||
.Nm
|
||||
routines to return
|
||||
.Fa FTSENT
|
||||
structures for symbolic links themselves instead
|
||||
@ -446,13 +446,13 @@ or
|
||||
.Ql ..
|
||||
encountered in the file hierarchy are ignored.
|
||||
This option causes the
|
||||
.Nm fts
|
||||
.Nm
|
||||
routines to return
|
||||
.Fa FTSENT
|
||||
structures for them.
|
||||
.It Dv FTS_XDEV
|
||||
This option prevents
|
||||
.Nm fts
|
||||
.Nm
|
||||
from descending into directories that have a different device number
|
||||
than the file from which the descent began.
|
||||
.El
|
||||
@ -751,7 +751,7 @@ The options were invalid.
|
||||
.Xr qsort 3
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm fts
|
||||
.Nm
|
||||
utility is expected to be included in a future
|
||||
.St -p1003.1-88
|
||||
revision.
|
||||
|
@ -193,6 +193,6 @@ functions returns values that are stored in static memory areas
|
||||
which may be overwritten the next time they are called.
|
||||
.Sh HISTORY
|
||||
This particular implementation of the
|
||||
.Nm ethers
|
||||
.Nm
|
||||
library functions were written for and first appeared in
|
||||
.Fx 2.1 .
|
||||
|
@ -159,7 +159,7 @@ Alternatively, these defaults may be modified via the
|
||||
function.
|
||||
.Pp
|
||||
The
|
||||
.Nm stdio
|
||||
.Nm
|
||||
library is a part of the library
|
||||
.Nm libc
|
||||
and routines are automatically loaded as needed by the C compiler.
|
||||
@ -223,7 +223,7 @@ library and system functions, especially
|
||||
.Xr vfork 2 .
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm stdio
|
||||
.Nm
|
||||
library conforms to
|
||||
.St -ansiC .
|
||||
.Sh LIST OF FUNCTIONS
|
||||
|
@ -109,17 +109,17 @@ interface, which is accessible to users via
|
||||
.Pp
|
||||
.Fn getnumdevs
|
||||
returns the number of devices registered with the
|
||||
.Nm devstat
|
||||
.Nm
|
||||
subsystem in the kernel.
|
||||
.Pp
|
||||
.Fn getgeneration
|
||||
returns the current generation of the
|
||||
.Nm devstat
|
||||
.Nm
|
||||
list of devices in the kernel.
|
||||
.Pp
|
||||
.Fn getversion
|
||||
returns the current kernel
|
||||
.Nm devstat
|
||||
.Nm
|
||||
version.
|
||||
.Pp
|
||||
.Fn checkversion
|
||||
@ -174,9 +174,9 @@ The
|
||||
.Va kern.devstat.all
|
||||
.Nm sysctl
|
||||
variable contains an array of
|
||||
.Nm devstat
|
||||
.Nm
|
||||
structures, but at the head of the array is the current
|
||||
.Nm devstat
|
||||
.Nm
|
||||
generation. The reason the generation is at the head of the buffer is so
|
||||
that userland software accessing the devstat statistics information can
|
||||
atomically get both the statistics information and the corresponding
|
||||
@ -201,7 +201,7 @@ structures from the
|
||||
.Va kern.devstat.all
|
||||
.Nm sysctl
|
||||
variable. The generation subelement of the
|
||||
.Nm devinfo
|
||||
.Va devinfo
|
||||
structure contains the generation number from the
|
||||
.Va kern.devstat.all
|
||||
.Nm sysctl
|
||||
@ -212,7 +212,7 @@ subelement of the
|
||||
.Va devinfo
|
||||
structure contains the current
|
||||
number of devices registered with the kernel
|
||||
.Nm devstat
|
||||
.Nm
|
||||
subsystem.
|
||||
.Pp
|
||||
.Fn selectdevs
|
||||
@ -476,7 +476,7 @@ fetching the variable.
|
||||
.Pp
|
||||
.Fn checkversion
|
||||
returns 0 if the kernel and userland
|
||||
.Nm devstat
|
||||
.Nm
|
||||
versions match. If they do not match, it returns -1.
|
||||
.Pp
|
||||
.Fn getdevs
|
||||
|
@ -22,7 +22,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Pa /etc/auth.conf
|
||||
.Sh DESCRIPTION
|
||||
.Nm auth.conf
|
||||
.Nm
|
||||
contains various attributes important to the authentication
|
||||
code, most notably
|
||||
.Xr kerberos 5
|
||||
|
@ -29,7 +29,7 @@
|
||||
.Pa /etc/login.conf ,
|
||||
.Pa ~/.login_conf
|
||||
.Sh DESCRIPTION
|
||||
.Nm login.conf
|
||||
.Nm
|
||||
contains various attributes and capabilities of login classes.
|
||||
A login class (an optional annotation against each record in the user
|
||||
account database,
|
||||
|
Loading…
x
Reference in New Issue
Block a user