mdoc(7): Properly mark C headers.

This commit is contained in:
Ruslan Ermilov 2003-09-10 19:24:35 +00:00
parent 6fac181c69
commit 743d5d518c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119964
52 changed files with 72 additions and 72 deletions

View File

@ -163,7 +163,7 @@ If this variable isn't specified,
the default path is set according to the the default path is set according to the
.Dv _PATH_DEFPATH .Dv _PATH_DEFPATH
definition in definition in
.Aq paths.h , .In paths.h ,
which is set to which is set to
.Dq Ev /usr/bin:/bin . .Dq Ev /usr/bin:/bin .
For For

View File

@ -69,7 +69,7 @@ is the bitwise inclusive
.Tn OR .Tn OR
of any of the following of any of the following
constants, which are defined in the include file constants, which are defined in the include file
.Pa fnmatch.h . .In fnmatch.h .
.Bl -tag -width FNM_PATHNAME .Bl -tag -width FNM_PATHNAME
.It Dv FNM_NOESCAPE .It Dv FNM_NOESCAPE
Normally, every occurrence of a backslash Normally, every occurrence of a backslash

View File

@ -94,7 +94,7 @@ The caller tried to set the hostname and was not the super-user.
Domain names are limited to Domain names are limited to
.Dv MAXHOSTNAMELEN .Dv MAXHOSTNAMELEN
(from (from
.Ao Pa sys/param.h Ac ) .In sys/param.h )
characters, currently 256. characters, currently 256.
.Sh HISTORY .Sh HISTORY
The The

View File

@ -57,7 +57,7 @@ is a pathname generator that implements the rules for file name pattern
matching used by the shell. matching used by the shell.
.Pp .Pp
The include file The include file
.Pa glob.h .In glob.h
defines the structure type defines the structure type
.Fa glob_t , .Fa glob_t ,
which contains at least the following fields: which contains at least the following fields:
@ -121,7 +121,7 @@ is the bitwise inclusive
.Tn OR .Tn OR
of any of the following of any of the following
values defined in values defined in
.Pa glob.h : .In glob.h :
.Bl -tag -width GLOB_ALTDIRFUNC .Bl -tag -width GLOB_ALTDIRFUNC
.It Dv GLOB_APPEND .It Dv GLOB_APPEND
Append pathnames generated to the ones from a previous call (or calls) Append pathnames generated to the ones from a previous call (or calls)

View File

@ -71,7 +71,7 @@ ancillary data manipulation.
RFC2292 defines a set of functions to help the application. RFC2292 defines a set of functions to help the application.
The function prototypes for The function prototypes for
these functions are all in the these functions are all in the
.Aq Li netinet/in.h .In netinet/in.h
header. header.
.\" .\"
.Ss inet6_option_space .Ss inet6_option_space

View File

@ -97,7 +97,7 @@ fetch one flag from a Routing header
.El .El
.Pp .Pp
The function prototypes for these functions are all in the The function prototypes for these functions are all in the
.Aq Li netinet/in.h .In netinet/in.h
header. header.
.\" .\"
.Ss inet6_rthdr_space .Ss inet6_rthdr_space

View File

@ -131,7 +131,7 @@ Options
stored in stored in
.Va _res.options .Va _res.options
are defined in are defined in
.Pa resolv.h .In resolv.h
and are as follows. and are as follows.
Options are stored as a simple bit mask containing the bitwise ``or'' Options are stored as a simple bit mask containing the bitwise ``or''
of the options enabled. of the options enabled.

View File

@ -209,7 +209,7 @@ This was changed by
to decouple to decouple
.Fn getopt .Fn getopt
from from
.Pa <stdio.h> . .In stdio.h .
.Pp .Pp
A single dash A single dash
.Dq Li - .Dq Li -

View File

@ -69,7 +69,7 @@ produced by
For more information on the record structure used by For more information on the record structure used by
.Fn acct , .Fn acct ,
see see
.Pa /usr/include/sys/acct.h .In sys/acct.h
and and
.Xr acct 5 . .Xr acct 5 .
.Pp .Pp

View File

@ -73,7 +73,7 @@ kernel mode.
The structure pointed to by The structure pointed to by
.Fa tp .Fa tp
is defined in is defined in
.Ao Pa sys/time.h Ac .In sys/time.h
as: as:
.Pp .Pp
.Bd -literal .Bd -literal

View File

@ -53,7 +53,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The system provides each process with three interval timers, The system provides each process with three interval timers,
defined in defined in
.Ao Pa sys/time.h Ac . .In sys/time.h .
The The
.Fn getitimer .Fn getitimer
system call returns the current value for the timer specified in system call returns the current value for the timer specified in
@ -139,7 +139,7 @@ in
is 100000000. is 100000000.
.Sh NOTES .Sh NOTES
Three macros for manipulating time values are defined in Three macros for manipulating time values are defined in
.Ao Pa sys/time.h Ac . .In sys/time.h .
The The
.Fn timerclear .Fn timerclear
macro macro

View File

@ -107,7 +107,7 @@ argument
and any specified options are passed uninterpreted to the appropriate and any specified options are passed uninterpreted to the appropriate
protocol module for interpretation. protocol module for interpretation.
The include file The include file
.Ao Pa sys/socket.h Ac .In sys/socket.h
contains definitions for contains definitions for
socket level options, described below. socket level options, described below.
Options at other protocol levels vary in format and Options at other protocol levels vary in format and
@ -127,7 +127,7 @@ or zero if the option is to be disabled.
uses a uses a
.Vt "struct linger" .Vt "struct linger"
argument, defined in argument, defined in
.Ao Pa sys/socket.h Ac , .In sys/socket.h ,
which specifies the desired state of the option and the which specifies the desired state of the option and the
linger interval (see below). linger interval (see below).
.Dv SO_SNDTIMEO .Dv SO_SNDTIMEO
@ -136,7 +136,7 @@ and
use a use a
.Vt "struct timeval" .Vt "struct timeval"
argument, defined in argument, defined in
.Ao Pa sys/time.h Ac . .In sys/time.h .
.Pp .Pp
The following options are recognized at the socket level. The following options are recognized at the socket level.
Except as noted, each may be examined with Except as noted, each may be examined with

View File

@ -75,7 +75,7 @@ The structures pointed to by
and and
.Fa tzp .Fa tzp
are defined in are defined in
.Ao Pa sys/time.h Ac .In sys/time.h
as: as:
.Pp .Pp
.Bd -literal .Bd -literal

View File

@ -85,7 +85,7 @@ in bytes.
Macros and defines used in specifying an ioctl Macros and defines used in specifying an ioctl
.Fa request .Fa request
are located in the file are located in the file
.Ao Pa sys/ioctl.h Ac . .In sys/ioctl.h .
.Sh RETURN VALUES .Sh RETURN VALUES
If an error has occurred, a value of -1 is returned and If an error has occurred, a value of -1 is returned and
.Va errno .Va errno

View File

@ -61,7 +61,7 @@ operates on the given filename
for the given user for the given user
.Fa id . .Fa id .
(NOTE: One should use the QCMD macro defined in (NOTE: One should use the QCMD macro defined in
.Ao Pa ufs/ufs/quota.h Ac .In ufs/ufs/quota.h
to formulate the value for to formulate the value for
.Fa cmd . ) .Fa cmd . )
The address of an optional command specific data structure, The address of an optional command specific data structure,
@ -118,7 +118,7 @@ argument
is a pointer to a is a pointer to a
.Fa struct dqblk .Fa struct dqblk
structure (defined in structure (defined in
.Ao Pa ufs/ufs/quota.h Ac ) . .In ufs/ufs/quota.h ) .
.It Dv Q_SETQUOTA .It Dv Q_SETQUOTA
Set disk quota limits for the user or group Set disk quota limits for the user or group
(as determined by the command type) with identifier (as determined by the command type) with identifier
@ -129,7 +129,7 @@ argument
is a pointer to a is a pointer to a
.Fa struct dqblk .Fa struct dqblk
structure (defined in structure (defined in
.Ao Pa ufs/ufs/quota.h Ac ) . .In ufs/ufs/quota.h ) .
The usage fields of the The usage fields of the
.Fa dqblk .Fa dqblk
structure are ignored. structure are ignored.
@ -144,7 +144,7 @@ argument
is a pointer to a is a pointer to a
.Fa struct dqblk .Fa struct dqblk
structure (defined in structure (defined in
.Ao Pa ufs/ufs/quota.h Ac ) . .In ufs/ufs/quota.h ) .
Only the usage fields are used. Only the usage fields are used.
This system call is restricted to the super-user. This system call is restricted to the super-user.
.It Dv Q_SYNC .It Dv Q_SYNC

View File

@ -152,7 +152,7 @@ system call uses a
.Fa msghdr .Fa msghdr
structure to minimize the number of directly supplied arguments. structure to minimize the number of directly supplied arguments.
This structure has the following form, as defined in This structure has the following form, as defined in
.Ao Pa sys/socket.h Ac : .In sys/socket.h :
.Pp .Pp
.Bd -literal .Bd -literal
struct msghdr { struct msghdr {
@ -226,7 +226,7 @@ In this case,
should be a structure of type should be a structure of type
.Fa cmsgcred , .Fa cmsgcred ,
which is defined in which is defined in
.Ao Pa sys/socket.h Ac .In sys/socket.h
as follows: as follows:
.Pp .Pp
.Bd -literal .Bd -literal

View File

@ -59,7 +59,7 @@ indicates the number of entries in the array and must be no
more than more than
.Dv NGROUPS , .Dv NGROUPS ,
as defined in as defined in
.Ao Pa sys/param.h Ac . .In sys/param.h .
.Pp .Pp
Only the super-user may set new groups. Only the super-user may set new groups.
.Sh RETURN VALUES .Sh RETURN VALUES

View File

@ -57,7 +57,7 @@ argument specifies a communications domain within which
communication will take place; this selects the protocol family communication will take place; this selects the protocol family
which should be used. which should be used.
These families are defined in the include file These families are defined in the include file
.Ao Pa sys/socket.h Ac . .In sys/socket.h .
The currently understood formats are: The currently understood formats are:
.Pp .Pp
.Bd -literal -offset indent -compact .Bd -literal -offset indent -compact
@ -225,7 +225,7 @@ via
The operation of sockets is controlled by socket level The operation of sockets is controlled by socket level
.Em options . .Em options .
These options are defined in the file These options are defined in the file
.Ao Pa sys/socket.h Ac . .In sys/socket.h .
The The
.Xr setsockopt 2 .Xr setsockopt 2
and and

View File

@ -64,7 +64,7 @@ arguments of the function.
Symbolic constants and argument structures Symbolic constants and argument structures
for the architecture-dependent for the architecture-dependent
functions can be found in the header file functions can be found in the header file
.Ao Pa machine/sysarch.h Ac . .In machine/sysarch.h .
.Pp .Pp
The The
.Fn sysarch .Fn sysarch

View File

@ -57,7 +57,7 @@ interface has the specified
.Fa number .Fa number
with the specified arguments. with the specified arguments.
Symbolic constants for system calls can be found in the header file Symbolic constants for system calls can be found in the header file
.Ao Pa sys/syscall.h Ac . .In sys/syscall.h .
The The
.Fn __syscall .Fn __syscall
form should be used when one or more of the arguments is a form should be used when one or more of the arguments is a

View File

@ -42,7 +42,7 @@
.Fn ipsec_strerror .Fn ipsec_strerror
.\" .\"
.Sh DESCRIPTION .Sh DESCRIPTION
.Pa netinet6/ipsec.h .In netinet6/ipsec.h
declares declares
.Pp .Pp
.Dl extern int ipsec_errcode; .Dl extern int ipsec_errcode;

View File

@ -176,7 +176,7 @@ Returns error messages for the subset of errno values supported by
.It Fn assert expression .It Fn assert expression
.Pp .Pp
Requires Requires
.In assert.h .In assert.h .
.It Xo .It Xo
.Ft int .Ft int
.Fn setjmp "jmp_buf env" .Fn setjmp "jmp_buf env"
@ -191,7 +191,7 @@ Defined as
and and
.Fn _longjmp .Fn _longjmp
respectively as there is no signal state to manipulate. Requires respectively as there is no signal state to manipulate. Requires
.In setjmp.h .In setjmp.h .
.El .El
.Sh CHARACTER I/O .Sh CHARACTER I/O
.Bl -hang -width 10n .Bl -hang -width 10n

View File

@ -74,7 +74,7 @@ will not be NUL terminated.
The The
.Fn realhostname .Fn realhostname
function will return one of the following constants which are defined in function will return one of the following constants which are defined in
.Pa libutil.h : .In libutil.h :
.Pp .Pp
.Bl -tag -width XXX -offset XXX .Bl -tag -width XXX -offset XXX
.It Li HOSTNAME_FOUND .It Li HOSTNAME_FOUND

View File

@ -103,7 +103,7 @@ will not be NUL terminated.
The The
.Fn realhostname_sa .Fn realhostname_sa
function will return one of the following constants which are defined in function will return one of the following constants which are defined in
.Pa libutil.h : .In libutil.h :
.Pp .Pp
.Bl -tag -width XXX -offset XXX .Bl -tag -width XXX -offset XXX
.It Li HOSTNAME_FOUND .It Li HOSTNAME_FOUND

View File

@ -103,7 +103,7 @@ All of these operations are normally done using
.Xr disklabel 8 . .Xr disklabel 8 .
.Pp .Pp
The format of the disk label, as specified in The format of the disk label, as specified in
.Pa <sys/disklabel.h> , .In sys/disklabel.h ,
is is
.Bd -literal .Bd -literal
#ifndef _SYS_DISKLABEL_H_ #ifndef _SYS_DISKLABEL_H_

View File

@ -103,7 +103,7 @@ All of these operations are normally done using
.Xr disklabel 8 . .Xr disklabel 8 .
.Pp .Pp
The format of the disk label, as specified in The format of the disk label, as specified in
.Pa <sys/disklabel.h> , .In sys/disklabel.h ,
is is
.Bd -literal .Bd -literal
#ifndef _SYS_DISKLABEL_H_ #ifndef _SYS_DISKLABEL_H_

View File

@ -328,7 +328,7 @@ A range may only be specified as the first value,
and the length of the port list is limited to and the length of the port list is limited to
.Dv IPV6_FW_MAX_PORTS .Dv IPV6_FW_MAX_PORTS
(as defined in (as defined in
.Pa /usr/src/sys/netinet6/ip6_fw.h ) .In netinet6/ip6_fw.h )
ports. ports.
.Pp .Pp
Fragmented packets which have a non-zero offset (i.e. not the first Fragmented packets which have a non-zero offset (i.e. not the first

View File

@ -127,6 +127,6 @@ file appeared somewhere after
This man page has been written by This man page has been written by
.An J\(:org Wunsch .An J\(:org Wunsch
after the comments in after the comments in
.Pa <sysexits.h> . .In sysexits.h .
.Sh BUGS .Sh BUGS
The choice of an appropriate exit value is often ambiguous. The choice of an appropriate exit value is often ambiguous.

View File

@ -135,7 +135,7 @@ raw socket has an associated filter whose datatype is defined as
.Pp .Pp
This structure, along with the macros and constants defined later in This structure, along with the macros and constants defined later in
this section, are defined as a result of including the this section, are defined as a result of including the
.Aq Li netinet/icmp6.h .In netinet/icmp6.h
header. header.
.Pp .Pp
The current filter is fetched and stored using The current filter is fetched and stored using

View File

@ -48,7 +48,7 @@ exports an application interface as a character device. Applications
can control APM, or retrieve APM status information via this interface. can control APM, or retrieve APM status information via this interface.
.Nm .Nm
exports the following interfaces. These symbols are defined in exports the following interfaces. These symbols are defined in
.Dq Pa /usr/include/machine/apm_bios.h . .In machine/apm_bios.h .
.Bl -tag -width 4n -offset indent .Bl -tag -width 4n -offset indent
.It Sy APMIO_SUSPEND .It Sy APMIO_SUSPEND
Suspend system. Suspend system.

View File

@ -149,7 +149,7 @@ Until the DMA features are
supported, the only interrupts that the board generates are those that supported, the only interrupts that the board generates are those that
aren't supported by the driver anyway. aren't supported by the driver anyway.
.Sh SEE ALSO .Sh SEE ALSO
.Pa /usr/include/sys/cdio.h .In sys/cdio.h
.Sh AUTHORS .Sh AUTHORS
.An -nosplit .An -nosplit
The driver was written by The driver was written by

View File

@ -160,7 +160,7 @@ There are a few
.Xr ioctl 2 .Xr ioctl 2
commands for mouse drivers. commands for mouse drivers.
These commands and related structures and constants are defined in These commands and related structures and constants are defined in
.Ao Pa sys/mouse.h Ac . .In sys/mouse.h .
General description of the commands is given in General description of the commands is given in
.Xr mouse 4 . .Xr mouse 4 .
This section explains the features specific to the This section explains the features specific to the

View File

@ -47,7 +47,7 @@ on a speaker file descriptor to control the
speaker driver directly; definitions for the speaker driver directly; definitions for the
.Xr ioctl 2 .Xr ioctl 2
interface are in interface are in
.Pa /usr/include/machine/speaker.h . .In machine/speaker.h .
The The
.Li tone_t .Li tone_t
structure used in these calls has two fields, structure used in these calls has two fields,

View File

@ -91,7 +91,7 @@ variable to define a "default" ABI for unbranded executables.
Value ELFOSABI_SOLARIS represents Solaris; ELFOSABI_SYSV represents other Value ELFOSABI_SOLARIS represents Solaris; ELFOSABI_SYSV represents other
SysVR4 operating systems. SysVR4 operating systems.
See See
.Pa /usr/include/sys/elf_common.h .In sys/elf_common.h
for ELFOSABI branding definitions, and for ELFOSABI branding definitions, and
.Xr brandelf 1 .Xr brandelf 1
for information on branding executables. for information on branding executables.

View File

@ -167,7 +167,7 @@ below).
This command returns the node's current state described by the This command returns the node's current state described by the
.Dv "struct slcompress" .Dv "struct slcompress"
structure, which is defined in structure, which is defined in
.Pa net/slcompress.h . .In net/slcompress.h .
.It Dv NGM_VJC_CLR_STATS .It Dv NGM_VJC_CLR_STATS
Clears the node statistics counters. Clears the node statistics counters.
Statistics are also cleared whenever the Statistics are also cleared whenever the

View File

@ -353,7 +353,7 @@ There are a few
.Xr ioctl 2 .Xr ioctl 2
commands for mouse drivers. commands for mouse drivers.
These commands and related structures and constants are defined in These commands and related structures and constants are defined in
.Ao Pa sys/mouse.h Ac . .In sys/mouse.h .
General description of the commands is given in General description of the commands is given in
.Xr mouse 4 . .Xr mouse 4 .
This section explains the features specific to the This section explains the features specific to the

View File

@ -47,7 +47,7 @@ on a speaker file descriptor to control the
speaker driver directly; definitions for the speaker driver directly; definitions for the
.Xr ioctl 2 .Xr ioctl 2
interface are in interface are in
.Pa /usr/include/machine/speaker.h . .In machine/speaker.h .
The The
.Li tone_t .Li tone_t
structure used in these calls has two fields, structure used in these calls has two fields,

View File

@ -329,7 +329,7 @@ above.
.It Dv SC_KERNEL_CONS_REV_ATTR=_attribute_ .It Dv SC_KERNEL_CONS_REV_ATTR=_attribute_
These options will set the default colors. These options will set the default colors.
Available colors are defined in Available colors are defined in
.Pa /usr/include/machine/pc/display.h . .In machine/pc/display.h .
See See
.Sx EXAMPLES .Sx EXAMPLES
below. below.

View File

@ -421,7 +421,7 @@ The
field specifies the signal to be delivered to the process. field specifies the signal to be delivered to the process.
It must be It must be
one of the values defined in one of the values defined in
.Ao Pa signal.h Ac . .In signal.h .
The The
.Dv mode .Dv mode
field is currently unused. field is currently unused.

View File

@ -188,7 +188,7 @@ Contains the size in bytes of the data relocation table.
.El .El
.Pp .Pp
The The
.Pa a.out.h .In a.out.h
include file defines several macros which use an include file defines several macros which use an
.Fa exec .Fa exec
structure to test consistency or to locate section offsets in the binary file. structure to test consistency or to locate section offsets in the binary file.
@ -444,7 +444,7 @@ is always 4 on 32-bit machines.
.Xr stab 5 .Xr stab 5
.Sh HISTORY .Sh HISTORY
The The
.Pa a.out.h .In a.out.h
include file appeared in include file appeared in
.At v7 . .At v7 .
.Sh BUGS .Sh BUGS

View File

@ -80,7 +80,7 @@ and
.Xr mount 8 . ) .Xr mount 8 . )
.Pp .Pp
The directory entry format is defined in the file The directory entry format is defined in the file
.Aq sys/dirent.h .In sys/dirent.h
(which should not be included directly by applications): (which should not be included directly by applications):
.Bd -literal .Bd -literal
#ifndef _SYS_DIRENT_H_ #ifndef _SYS_DIRENT_H_

View File

@ -51,7 +51,7 @@ the file.
.Pp .Pp
Applications which wish to process ELF binary files for their native Applications which wish to process ELF binary files for their native
architecture only should include architecture only should include
.Pa elf.h .In elf.h
in their source code. in their source code.
These applications should need to refer to These applications should need to refer to
all the types and structures by their generic names all the types and structures by their generic names
@ -63,11 +63,11 @@ regardless whether the host is 32-bit or 64-bit.
.Pp .Pp
Should an application need to process ELF files of an unknown Should an application need to process ELF files of an unknown
architecture then the application needs to include both architecture then the application needs to include both
.Pa sys/elf32.h .In sys/elf32.h
and and
.Pa sys/elf64.h .In sys/elf64.h
instead of instead of
.Pa elf.h . .In elf.h .
Furthermore, all types and structures need to be identified by either Furthermore, all types and structures need to be identified by either
.Dq Elf32_xxx .Dq Elf32_xxx
or or
@ -78,9 +78,9 @@ or
.Dq ELF64_xxx . .Dq ELF64_xxx .
.Pp .Pp
Whatever the system's architecture is, it will always include Whatever the system's architecture is, it will always include
.Pa sys/elf_common.h .In sys/elf_common.h
as well as as well as
.Pa sys/elf_generic.h . .In sys/elf_generic.h .
.Pp .Pp
These header files describe the above mentioned headers as C structures These header files describe the above mentioned headers as C structures
and also include structures for dynamic sections, relocation sections and and also include structures for dynamic sections, relocation sections and

View File

@ -78,7 +78,7 @@ in which case that signal is delivered to the process
The debug registers as defined by The debug registers as defined by
.Dv "struct dbregs" .Dv "struct dbregs"
in in
.Pa <machine/reg.h> . .In machine/reg.h .
.Pa dbregs .Pa dbregs
is currently only implemented on the i386 architecture. is currently only implemented on the i386 architecture.
.It Pa etype .It Pa etype
@ -95,7 +95,7 @@ If the file cannot be found, the link target is
The floating point registers as defined by The floating point registers as defined by
.Dv "struct fpregs" .Dv "struct fpregs"
in in
.Pa <machine/reg.h> . .In machine/reg.h .
.Pa fpregs .Pa fpregs
is only implemented on machines which have distinct general is only implemented on machines which have distinct general
purpose and floating point register sets. purpose and floating point register sets.
@ -115,7 +115,7 @@ Allows read and write access to the process' register set.
This file contains a binary data structure This file contains a binary data structure
.Dv "struct regs" .Dv "struct regs"
defined in defined in
.Pa <machine/reg.h> . .In machine/reg.h .
.Pa regs .Pa regs
can only be written when the process is stopped. can only be written when the process is stopped.
.It Pa rlimit .It Pa rlimit

View File

@ -49,7 +49,7 @@ See
.Xr chmod 2 .Xr chmod 2
or or
the file the file
.Pa /usr/include/sys/stat.h .In sys/stat.h
for an explanation of file modes. for an explanation of file modes.
.Sh STICKY DIRECTORIES .Sh STICKY DIRECTORIES
A directory whose `sticky bit' is set A directory whose `sticky bit' is set

View File

@ -80,7 +80,7 @@ Valid values for this are contained in the
.Vt sysinit_sub_id .Vt sysinit_sub_id
enumeration enumeration
(see (see
.Pa kernel.h ) .In sys/kernel.h )
and specify the type of system startup interfaces. and specify the type of system startup interfaces.
The The
.Xr DRIVER_MODULE 9 .Xr DRIVER_MODULE 9
@ -99,7 +99,7 @@ It represents the KLDs order of initialization within the subsystem.
Valid values are defined in the Valid values are defined in the
.Vt sysinit_elem_order .Vt sysinit_elem_order
enumeration enumeration
.Pa ( kernel.h ) . .Pq In sys/kernel.h .
.Sh SEE ALSO .Sh SEE ALSO
.Xr DEV_MODULE 9 , .Xr DEV_MODULE 9 ,
.Xr DRIVER_MODULE 9 , .Xr DRIVER_MODULE 9 ,

View File

@ -369,7 +369,7 @@ from the CCB is ORed with 0xf to determine the tag type to pass in to
There is a macro, There is a macro,
.Dv DEVSTAT_VERSION .Dv DEVSTAT_VERSION
that is defined in that is defined in
.Aq sys/devicestat.h . .In sys/devicestat.h .
This is the current version of the This is the current version of the
.Nm .Nm
subsystem, and it should be incremented each time a change is made that subsystem, and it should be incremented each time a change is made that

View File

@ -153,7 +153,7 @@ The total size of an
.Vt mbuf , .Vt mbuf ,
.Dv MSIZE , .Dv MSIZE ,
is a machine-dependent constant defined in is a machine-dependent constant defined in
.Pa machine/param.h . .In machine/param.h .
The The
.Vt mbuf .Vt mbuf
header includes: header includes:

View File

@ -64,7 +64,7 @@ available.
The number of buffers is stored in The number of buffers is stored in
.Va nswbuf .Va nswbuf
which is defined in which is defined in
.Pa sys/buf.h .In sys/buf.h
and initialized in and initialized in
.Fn cpu_startup . .Fn cpu_startup .
A recommended initialization value is 1/2 A recommended initialization value is 1/2

View File

@ -182,7 +182,7 @@ for creating and deleting sysctl oids at runtime
(e.g. during lifetime of a module). (e.g. during lifetime of a module).
The alternative method, The alternative method,
based on linker sets (see based on linker sets (see
.Aq sys/linker_set.h .In sys/linker_set.h
and and
.\" XXX Manual pages should avoid referencing source files .\" XXX Manual pages should avoid referencing source files
.Pa src/sys/kern/kern_sysctl.c .Pa src/sys/kern/kern_sysctl.c
@ -271,7 +271,7 @@ The newly created oid will contain a copy of the name.
.It Fa kind .It Fa kind
The kind of oid, The kind of oid,
specified as a bit mask of the type and access values defined in the specified as a bit mask of the type and access values defined in the
.Aq sys/sysctl.h .In sys/sysctl.h
header file. header file.
Oids created dynamically always have the Oids created dynamically always have the
.Dv CTLFLAG_DYN .Dv CTLFLAG_DYN

View File

@ -45,7 +45,7 @@ function initializes the system page size.
If If
.Va cnt.v_page_size .Va cnt.v_page_size
(see (see
.Pa sys/vmmeter.h ) .In sys/vmmeter.h )
equals 0, equals 0,
.Dv PAGE_SIZE .Dv PAGE_SIZE
is used; otherwise, the value stored in is used; otherwise, the value stored in

View File

@ -77,7 +77,7 @@ such a basic fundamental parameter in
You can change You can change
.Dv UT_NAMESIZE .Dv UT_NAMESIZE
in in
.Pa /usr/include/utmp.h .In utmp.h
and recompile the and recompile the
world; people have done this and it works, but you will have problems world; people have done this and it works, but you will have problems
with any precompiled programs, or source that assumes the 8-character with any precompiled programs, or source that assumes the 8-character

View File

@ -205,7 +205,7 @@ for a grace period that may be specified per file system.
Once the grace period has expired, Once the grace period has expired,
the soft limit is enforced as a hard limit. the soft limit is enforced as a hard limit.
The default grace period for a file system is specified in The default grace period for a file system is specified in
.Pa /usr/include/ufs/ufs/quota.h . .In ufs/ufs/quota.h .
The The
.Fl t .Fl t
flag can be used to change the grace period. flag can be used to change the grace period.