mdoc(7): Use the new feature of the .In macro.
This commit is contained in:
parent
ecf79cde9e
commit
1c23ef339b
@ -210,7 +210,7 @@ The percentage of real memory used by this process.
|
||||
.It flags
|
||||
The flags associated with the process as in
|
||||
the include file
|
||||
.Aq Pa sys/proc.h :
|
||||
.In sys/proc.h :
|
||||
.Bl -column P_NOCLDSTOP P_NOCLDSTOP
|
||||
.It Dv "P_ADVLOCK" Ta No "0x00001 Process may hold a POSIX advisory lock"
|
||||
.It Dv "P_CONTROLT" Ta No "0x00002 Has a controlling terminal"
|
||||
|
@ -583,7 +583,7 @@ an executed shell function.
|
||||
.Pp
|
||||
If a command is terminated by a signal, its exit status is 128 plus
|
||||
the signal number. Signal numbers are defined in the header file
|
||||
.Aq Pa sys/signal.h .
|
||||
.In sys/signal.h .
|
||||
.Ss Complex Commands
|
||||
Complex commands are combinations of simple commands
|
||||
with control operators or reserved words, together creating a larger complex
|
||||
|
@ -162,7 +162,7 @@ Only bits marked in
|
||||
.Fa mask
|
||||
are affected.
|
||||
The following mode bits are defined in
|
||||
.Aq Pa alias.h :
|
||||
.In alias.h :
|
||||
.Bl -tag -width indent
|
||||
.It Dv PKT_ALIAS_LOG
|
||||
Enables logging into
|
||||
@ -378,7 +378,7 @@ can be either
|
||||
or
|
||||
.Dv IPPROTO_UDP ,
|
||||
as defined in
|
||||
.Aq Pa netinet/in.h .
|
||||
.In netinet/in.h .
|
||||
.Pp
|
||||
If
|
||||
.Fa local_addr
|
||||
|
@ -139,7 +139,7 @@ is returned to the user.
|
||||
.Pp
|
||||
The following is a list of all signals
|
||||
with names as in the include file
|
||||
.Aq Pa signal.h :
|
||||
.In signal.h :
|
||||
.Bl -column SIGVTALARMXX "create core imagexxx"
|
||||
.It Sy "NAME Default Action Description"
|
||||
.It Dv SIGHUP No " terminate process" " terminal line hangup"
|
||||
@ -332,7 +332,7 @@ argument
|
||||
is a pointer to the
|
||||
.Fa sigcontext
|
||||
structure (defined in
|
||||
.Aq Pa signal.h ) ,
|
||||
.In signal.h ) ,
|
||||
used to restore the context from before the signal.
|
||||
.Sh BUGS
|
||||
This manual page is still confusing.
|
||||
|
@ -64,7 +64,7 @@ The
|
||||
access method specific data structure provided to
|
||||
.Fn dbopen
|
||||
is defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file as follows:
|
||||
.Bd -literal
|
||||
typedef struct {
|
||||
|
@ -65,7 +65,7 @@ database.
|
||||
.Pp
|
||||
.Vt datum
|
||||
is declared in
|
||||
.Aq Pa ndbm.h :
|
||||
.In ndbm.h :
|
||||
.Bd -literal
|
||||
typedef struct {
|
||||
char *dptr;
|
||||
|
@ -119,7 +119,7 @@ The
|
||||
argument is of type
|
||||
.Ft DBTYPE
|
||||
(as defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file) and
|
||||
may be set to
|
||||
.Dv DB_BTREE , DB_HASH
|
||||
@ -148,7 +148,7 @@ on error.
|
||||
The
|
||||
.Ft DB
|
||||
structure is defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file, and contains at
|
||||
least the following fields:
|
||||
.Bd -literal
|
||||
|
@ -61,7 +61,7 @@ data structure is an extensible, dynamic hashing scheme.
|
||||
The access method specific data structure provided to
|
||||
.Fn dbopen
|
||||
is defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file as follows:
|
||||
.Bd -literal
|
||||
typedef struct {
|
||||
|
@ -66,7 +66,7 @@ The
|
||||
access method specific data structure provided to
|
||||
.Fn dbopen
|
||||
is defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file as follows:
|
||||
.Bd -literal
|
||||
typedef struct {
|
||||
@ -179,7 +179,7 @@ The
|
||||
field of the key should be a pointer to a memory location of type
|
||||
.Ft recno_t ,
|
||||
as defined in the
|
||||
.Aq Pa db.h
|
||||
.In db.h
|
||||
include file.
|
||||
This type is normally the largest unsigned integral type available to
|
||||
the implementation.
|
||||
|
@ -62,7 +62,7 @@ The
|
||||
.Fa name
|
||||
argument specifies the system variable to be queried.
|
||||
Symbolic constants for each name value are found in the include file
|
||||
.Aq Pa unistd.h .
|
||||
.In unistd.h .
|
||||
The
|
||||
.Fa len
|
||||
argument specifies the size of the buffer referenced by the
|
||||
|
@ -65,7 +65,7 @@ is assumed to be at least
|
||||
.Dv L_ctermid
|
||||
(as defined in the include
|
||||
file
|
||||
.Aq Pa stdio.h )
|
||||
.In stdio.h )
|
||||
bytes long.
|
||||
.Pp
|
||||
The
|
||||
|
@ -102,7 +102,7 @@ example 1.
|
||||
The
|
||||
.Vt Link_map
|
||||
structure is defined in
|
||||
.Aq Pa link.h
|
||||
.In link.h
|
||||
and has the following members:
|
||||
.Bd -literal -offset indent
|
||||
caddr_t l_addr; /* Base Address of library */
|
||||
@ -159,7 +159,7 @@ The corresponding
|
||||
field contains one of more flags indicating the origin of the path (see the
|
||||
.Dv LA_SER_*
|
||||
flags defined in the
|
||||
.Aq Pa link.h
|
||||
.In link.h
|
||||
header file).
|
||||
See
|
||||
.Sx EXAMPLES ,
|
||||
|
@ -93,7 +93,7 @@ or physically (visiting symbolic links), order the walk of the hierarchy or
|
||||
prune and/or re-visit portions of the hierarchy.
|
||||
.Pp
|
||||
Two structures are defined (and typedef'd) in the include file
|
||||
.Aq Pa fts.h .
|
||||
.In fts.h .
|
||||
The first is
|
||||
.Vt FTS ,
|
||||
the structure that represents the file hierarchy itself.
|
||||
|
@ -78,7 +78,7 @@ argument and a size of
|
||||
.Dv MAXPATHLEN
|
||||
(as defined in the include
|
||||
file
|
||||
.Aq Pa sys/param.h ) .
|
||||
.In sys/param.h ) .
|
||||
Obviously,
|
||||
.Fa buf
|
||||
should be at least
|
||||
|
@ -70,7 +70,7 @@ functions
|
||||
each return a pointer to an object with the following structure
|
||||
containing the broken-out fields of a line in the file system
|
||||
description file,
|
||||
.Aq Pa fstab.h .
|
||||
.In fstab.h .
|
||||
.Bd -literal -offset indent
|
||||
struct fstab {
|
||||
char *fs_spec; /* block special device name */
|
||||
|
@ -78,7 +78,7 @@ Each line of the database is defined by the structure
|
||||
.Vt group
|
||||
found in the include
|
||||
file
|
||||
.Aq Pa grp.h :
|
||||
.In grp.h :
|
||||
.Bd -literal -offset indent
|
||||
struct group {
|
||||
char *gr_name; /* group name */
|
||||
|
@ -108,7 +108,7 @@ Callers should be aware that
|
||||
may be variable or infinite, but is guaranteed to be no less than
|
||||
.Brq Dv _POSIX_HOST_NAME_MAX .
|
||||
On older systems, this limit was defined in the non-standard header
|
||||
.Aq Pa sys/param.h
|
||||
.In sys/param.h
|
||||
as
|
||||
.Dv MAXHOSTNAMELEN ,
|
||||
and counted the terminating null.
|
||||
|
@ -79,7 +79,7 @@ Each entry in the database is defined by the structure
|
||||
.Vt passwd
|
||||
found in the include
|
||||
file
|
||||
.Aq Pa pwd.h :
|
||||
.In pwd.h :
|
||||
.Bd -literal -offset indent
|
||||
struct passwd {
|
||||
char *pw_name; /* user name */
|
||||
|
@ -376,7 +376,7 @@ If
|
||||
terminates due to an error, it sets errno and returns one of the
|
||||
following non-zero constants, which are defined in the include
|
||||
file
|
||||
.Aq Pa glob.h :
|
||||
.In glob.h :
|
||||
.Bl -tag -width GLOB_NOCHECK
|
||||
.It Dv GLOB_NOSPACE
|
||||
An attempt to allocate memory failed, or if
|
||||
|
@ -58,7 +58,7 @@ may be altered by
|
||||
and parts of which determine the actions of
|
||||
.Fn msgctl .
|
||||
The data structure is defined in
|
||||
.Aq Pa sys/msg.h
|
||||
.In sys/msg.h
|
||||
and contains (amongst others) the following members:
|
||||
.Bd -literal
|
||||
struct msqid_ds {
|
||||
@ -85,7 +85,7 @@ The
|
||||
structure used inside the
|
||||
.Vt shmid_ds
|
||||
structure is defined in
|
||||
.Aq Pa sys/ipc.h
|
||||
.In sys/ipc.h
|
||||
and looks like this:
|
||||
.Bd -literal
|
||||
struct ipc_perm {
|
||||
@ -133,7 +133,7 @@ can only be increased by the super-user.
|
||||
Values for
|
||||
.Va msg_qbytes
|
||||
that exceed the system limit (MSGMNB from
|
||||
.Aq Pa sys/msg.h )
|
||||
.In sys/msg.h )
|
||||
are silently truncated to that limit.
|
||||
.It Dv IPC_RMID
|
||||
Remove the message queue specified by
|
||||
|
@ -89,7 +89,7 @@ signals, the
|
||||
function allows for a signal to be caught, to be ignored, or to generate
|
||||
an interrupt.
|
||||
These signals are defined in the file
|
||||
.Aq Pa signal.h :
|
||||
.In signal.h :
|
||||
.Bl -column SIGVTALARMXX "create core imagexxx"
|
||||
.It Sy "Name Default Action Description"
|
||||
.It Dv SIGHUP Ta "terminate process" Ta "terminal line hangup"
|
||||
|
@ -58,7 +58,7 @@ The
|
||||
.Fa name
|
||||
argument specifies the system variable to be queried.
|
||||
Symbolic constants for each name value are found in the include file
|
||||
.Aq Pa unistd.h .
|
||||
.In unistd.h .
|
||||
Shell programmers who need access to these parameters should use the
|
||||
.Xr getconf 1
|
||||
utility.
|
||||
|
@ -182,7 +182,7 @@ for (i = 0; i < 100; i++) {
|
||||
.Ed
|
||||
.Pp
|
||||
The top level names are defined with a CTL_ prefix in
|
||||
.Aq Pa sys/sysctl.h ,
|
||||
.In sys/sysctl.h ,
|
||||
and are as follows.
|
||||
The next and subsequent levels down are found in the include files
|
||||
listed here, and described in separate sections below.
|
||||
@ -420,7 +420,7 @@ and
|
||||
is updated when the available APIs change.
|
||||
.Pp
|
||||
The userland release version is available from
|
||||
.Aq Pa osreldate.h ;
|
||||
.In osreldate.h ;
|
||||
parse this file if you need to get the release version of
|
||||
the currently installed userland.
|
||||
.It Li KERN_OSRELEASE
|
||||
@ -816,23 +816,23 @@ A process without appropriate privilege attempts to set a value.
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width <netinet/icmpXvar.h> -compact
|
||||
.It Aq Pa sys/sysctl.h
|
||||
.It In sys/sysctl.h
|
||||
definitions for top level identifiers, second level kernel and hardware
|
||||
identifiers, and user level identifiers
|
||||
.It Aq Pa sys/socket.h
|
||||
.It In sys/socket.h
|
||||
definitions for second level network identifiers
|
||||
.It Aq Pa sys/gmon.h
|
||||
.It In sys/gmon.h
|
||||
definitions for third level profiling identifiers
|
||||
.It Aq Pa vm/vm_param.h
|
||||
.It In vm/vm_param.h
|
||||
definitions for second level virtual memory identifiers
|
||||
.It Aq Pa netinet/in.h
|
||||
.It In netinet/in.h
|
||||
definitions for third level IPv4/IPv6 identifiers and
|
||||
fourth level IPv4/v6 identifiers
|
||||
.It Aq Pa netinet/icmp_var.h
|
||||
.It In netinet/icmp_var.h
|
||||
definitions for fourth level ICMP identifiers
|
||||
.It Aq Pa netinet/icmp6.h
|
||||
.It In netinet/icmp6.h
|
||||
definitions for fourth level ICMPv6 identifiers
|
||||
.It Aq Pa netinet/udp_var.h
|
||||
.It In netinet/udp_var.h
|
||||
definitions for fourth level UDP identifiers
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
@ -97,7 +97,7 @@ The input and output baud rates are found in the termios structure.
|
||||
The unsigned integer
|
||||
.Li speed_t
|
||||
is typedef'd in the include file
|
||||
.Aq Pa termios.h .
|
||||
.In termios.h .
|
||||
The value of the integer corresponds directly to the baud rate being
|
||||
represented, however, the following symbolic values are defined.
|
||||
.Bd -literal
|
||||
@ -218,7 +218,7 @@ The
|
||||
argument is created by
|
||||
.Em or Ns 'ing
|
||||
the following values, as specified in the include file
|
||||
.Aq Pa termios.h .
|
||||
.In termios.h .
|
||||
.Bl -tag -width "TCSADRAIN"
|
||||
.It Fa TCSANOW
|
||||
The change occurs immediately.
|
||||
|
@ -56,7 +56,7 @@ the current system into the structure referenced by
|
||||
The
|
||||
.Vt utsname
|
||||
structure is defined in the
|
||||
.Aq Pa sys/utsname.h
|
||||
.In sys/utsname.h
|
||||
header file, and contains the following members:
|
||||
.Bl -tag -width nodenameXXXX -offset indent
|
||||
.It sysname
|
||||
|
@ -91,7 +91,7 @@ Report error on an attempt to expand an undefined shell variable.
|
||||
The
|
||||
.Vt wordexp_t
|
||||
structure is defined in
|
||||
.Aq Pa wordexp.h
|
||||
.In wordexp.h
|
||||
as:
|
||||
.Bd -literal -offset indent
|
||||
typedef struct {
|
||||
|
@ -70,7 +70,7 @@ and the number of entries to set or return
|
||||
The argument
|
||||
.Fa descs
|
||||
can be either segment_descriptor or gate_descriptor and are defined in
|
||||
.Aq Pa i386/segments.h .
|
||||
.In i386/segments.h .
|
||||
These structures are defined by the architecture
|
||||
as disjoint bit-fields, so care must be taken in constructing them.
|
||||
.Pp
|
||||
|
@ -112,7 +112,7 @@
|
||||
The above functions perform character tests and conversions on the integer
|
||||
.Fa c .
|
||||
They are available as macros, defined in the include file
|
||||
.Aq Pa ctype.h ,
|
||||
.In ctype.h ,
|
||||
or as true functions in the C library.
|
||||
See the specific manual pages for more information.
|
||||
.Sh SEE ALSO
|
||||
|
@ -44,7 +44,7 @@ the particular language or cultural area defined in the program's locale.
|
||||
The manifest constant names and values of
|
||||
.Fa item
|
||||
are defined in
|
||||
.Aq Pa langinfo.h .
|
||||
.In langinfo.h .
|
||||
.Pp
|
||||
Calls to
|
||||
.Fn setlocale
|
||||
|
@ -92,7 +92,7 @@ The
|
||||
.Fn setrunelocale
|
||||
controls the type of encoding used to represent runes as multibyte strings
|
||||
as well as the properties of the runes as defined in
|
||||
.Aq Pa ctype.h .
|
||||
.In ctype.h .
|
||||
The
|
||||
.Fa locale
|
||||
argument indicates which locale to load.
|
||||
|
@ -106,15 +106,15 @@ addresses in the specified family:
|
||||
.It Dv AF_INET
|
||||
.Li struct in_addr
|
||||
(in
|
||||
.Aq Pa netinet/in.h )
|
||||
.In netinet/in.h )
|
||||
.It Dv AF_LINK
|
||||
.Li struct sockaddr_dl
|
||||
(in
|
||||
.Aq Pa net/if_dl.h )
|
||||
.In net/if_dl.h )
|
||||
.\" .It Dv AF_INET6
|
||||
.\" .Li struct in6_addr
|
||||
.\" (in
|
||||
.\" .Aq Pa netinet6/in6.h )
|
||||
.\" .In netinet6/in6.h )
|
||||
.El
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
|
@ -61,7 +61,7 @@
|
||||
These functions operate on ethernet addresses using an
|
||||
.Vt ether_addr
|
||||
structure, which is defined in the header file
|
||||
.Aq Pa netinet/if_ether.h :
|
||||
.In netinet/if_ether.h :
|
||||
.Bd -literal -offset indent
|
||||
/*
|
||||
* The number of bytes in an ethernet (MAC) address.
|
||||
|
@ -71,7 +71,7 @@ but in a more sophisticated manner.
|
||||
The
|
||||
.Li addrinfo
|
||||
structure is defined as a result of including the
|
||||
.Aq Pa netdb.h
|
||||
.In netdb.h
|
||||
header:
|
||||
.Bd -literal -offset
|
||||
struct addrinfo {
|
||||
@ -516,7 +516,7 @@ Error return status from
|
||||
.Fn getaddrinfo
|
||||
is zero on success and non-zero on errors.
|
||||
Non-zero error codes are defined in
|
||||
.Aq Pa netdb.h ,
|
||||
.In netdb.h ,
|
||||
and as follows:
|
||||
.Pp
|
||||
.Bl -tag -width EAI_ADDRFAMILY -compact
|
||||
|
@ -45,7 +45,7 @@ on the local machine in the memory referenced by
|
||||
The list consists of
|
||||
.Nm ifaddrs
|
||||
structures, as defined in the include file
|
||||
.Aq Pa ifaddrs.h .
|
||||
.In ifaddrs.h .
|
||||
The
|
||||
.Nm ifaddrs
|
||||
structure contains at least the following entries:
|
||||
@ -115,12 +115,12 @@ field references address family specific data. For
|
||||
addresses it contains a pointer to the
|
||||
.Fa struct if_data
|
||||
(as defined in include file
|
||||
.Aq Pa net/if.h )
|
||||
.In net/if.h )
|
||||
which contains various interface attributes and statistics.
|
||||
For all other address families, it contains a pointer to the
|
||||
.Fa struct ifa_data
|
||||
(as defined in include file
|
||||
.Aq Pa net/if.h )
|
||||
.In net/if.h )
|
||||
which contains per-address interface statistics.
|
||||
.Pp
|
||||
The data returned by
|
||||
@ -143,14 +143,14 @@ or
|
||||
.Xr sysctl 3 .
|
||||
.Sh BUGS
|
||||
If both
|
||||
.Aq Pa net/if.h
|
||||
.In net/if.h
|
||||
and
|
||||
.Aq Pa ifaddrs.h
|
||||
.In ifaddrs.h
|
||||
are being included,
|
||||
.Aq Pa net/if.h
|
||||
.In net/if.h
|
||||
.Em must
|
||||
be included before
|
||||
.Aq Pa ifaddrs.h .
|
||||
.In ifaddrs.h .
|
||||
.Sh SEE ALSO
|
||||
.Xr ioctl 2 ,
|
||||
.Xr socket 2 ,
|
||||
|
@ -111,7 +111,7 @@ Unfortunately most systems do not provide constants that specify the
|
||||
maximum size of either a fully-qualified domain name or a service name.
|
||||
Therefore to aid the application in allocating buffers for these two
|
||||
returned strings the following constants are defined in
|
||||
.Aq Pa netdb.h :
|
||||
.In netdb.h :
|
||||
.Bd -literal -offset
|
||||
#define NI_MAXHOST 1025
|
||||
#define NI_MAXSERV 32
|
||||
@ -120,7 +120,7 @@ returned strings the following constants are defined in
|
||||
The first value is actually defined as the constant
|
||||
.Dv MAXDNAME
|
||||
in recent versions of BIND's
|
||||
.Aq Pa arpa/nameser.h
|
||||
.In arpa/nameser.h
|
||||
header
|
||||
(older versions of BIND define this constant to be 256)
|
||||
and the second is a guess based on the services listed in the current
|
||||
@ -176,7 +176,7 @@ that have different services for UDP and TCP.
|
||||
These
|
||||
.Dv NI_xxx
|
||||
flags are defined in
|
||||
.Aq Pa netdb.h .
|
||||
.In netdb.h .
|
||||
.\"
|
||||
.Sh EXTENSION
|
||||
The implementation allows experimental numeric IPv6 address notation with
|
||||
|
@ -73,7 +73,7 @@ function returns an array of
|
||||
.Vt if_nameindex
|
||||
structures, one structure per interface, as
|
||||
defined in the include file
|
||||
.Aq Pa net/if.h .
|
||||
.In net/if.h .
|
||||
The
|
||||
.Vt if_nameindex
|
||||
structure contains at least the following entries:
|
||||
|
@ -289,7 +289,7 @@ The query type
|
||||
is usually
|
||||
.Dv QUERY ,
|
||||
but can be any of the query types defined in
|
||||
.Aq Pa arpa/nameser.h .
|
||||
.In arpa/nameser.h .
|
||||
The domain name for the query is given by
|
||||
.Fa dname .
|
||||
The
|
||||
|
@ -86,7 +86,7 @@ frees any dynamically-allocated storage used by the internal form
|
||||
of an RE.
|
||||
.Pp
|
||||
The header
|
||||
.Aq Pa regex.h
|
||||
.In regex.h
|
||||
declares two structure types,
|
||||
.Ft regex_t
|
||||
and
|
||||
|
@ -23,11 +23,11 @@ to perform the requested service, and then sends back a reply.
|
||||
.Pp
|
||||
All
|
||||
RPC routines require the header
|
||||
.Aq Pa rpc/rpc.h .
|
||||
.In rpc/rpc.h .
|
||||
Routines that take a
|
||||
.Vt "struct netconfig"
|
||||
also require that
|
||||
.Aq Pa netconfig.h
|
||||
.In netconfig.h
|
||||
be included.
|
||||
.Sh Nettype
|
||||
Some of the high-level
|
||||
|
@ -204,7 +204,7 @@ and thus not portable.
|
||||
This macro returns a pointer to a
|
||||
.Vt cmsgcred
|
||||
structure, defined in
|
||||
.Aq Pa sys/socket.h ,
|
||||
.In sys/socket.h ,
|
||||
identifying the calling client.
|
||||
This only works if the client is
|
||||
calling the server over an
|
||||
|
@ -260,7 +260,7 @@ structure comes from the TLI/XTI SysV interface, which
|
||||
.Nx
|
||||
does not use.
|
||||
The structure is defined in
|
||||
.Aq Pa rpc/types.h
|
||||
.In rpc/types.h
|
||||
for compatibility as:
|
||||
.Bd -literal
|
||||
struct t_bind {
|
||||
|
@ -117,7 +117,7 @@ An error on
|
||||
does not keep the stream open.
|
||||
.Pp
|
||||
As a convenience, the include file
|
||||
.Aq Pa stdio.h
|
||||
.In stdio.h
|
||||
defines the macros
|
||||
.Fn fropen
|
||||
and
|
||||
|
@ -85,7 +85,7 @@ did not reference an existing file at some indeterminate point in the
|
||||
past.
|
||||
.Dv P_tmpdir
|
||||
is defined in the include file
|
||||
.Aq Pa stdio.h .
|
||||
.In stdio.h .
|
||||
If the argument
|
||||
.Fa str
|
||||
is
|
||||
@ -103,7 +103,7 @@ is expected to be at least
|
||||
bytes in length.
|
||||
.Dv L_tmpnam
|
||||
is defined in the include file
|
||||
.Aq Pa stdio.h .
|
||||
.In stdio.h .
|
||||
.Pp
|
||||
The
|
||||
.Fn tempnam
|
||||
|
@ -61,7 +61,7 @@ The
|
||||
argument is a structure of type
|
||||
.Vt ENTRY
|
||||
(defined in the
|
||||
.Aq Pa search.h
|
||||
.In search.h
|
||||
header) containing two pointers:
|
||||
.Fa item.key
|
||||
points to the comparison key (a
|
||||
|
@ -69,7 +69,7 @@ function computes a sequence of pseudo-random integers in the range
|
||||
of 0 to
|
||||
.Dv RAND_MAX
|
||||
(as defined by the header file
|
||||
.Aq Pa stdlib.h ) .
|
||||
.In stdlib.h ) .
|
||||
.Pp
|
||||
The
|
||||
.Fn srand
|
||||
|
@ -266,7 +266,7 @@ returns the difference between two calendar times,
|
||||
expressed in seconds.
|
||||
.Pp
|
||||
External declarations as well as the tm structure definition are in the
|
||||
.Aq Pa time.h
|
||||
.In time.h
|
||||
include file.
|
||||
The tm structure includes at least the following fields:
|
||||
.Bd -literal -offset indent
|
||||
|
@ -73,9 +73,9 @@ A
|
||||
function first appeared in
|
||||
.Bx 4.2 .
|
||||
Its prototype existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before it was moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -73,9 +73,9 @@ A
|
||||
function appeared in
|
||||
.Bx 4.2 .
|
||||
Its prototype existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before it was moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -70,9 +70,9 @@ function
|
||||
appeared in
|
||||
.Bx 4.3 .
|
||||
Its prototype existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before it was moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -63,9 +63,9 @@ The
|
||||
function appeared in
|
||||
.Bx 4.3 .
|
||||
Its prototype existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before it was moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -98,9 +98,9 @@ and
|
||||
functions appeared in
|
||||
.At v6 .
|
||||
Their prototypes existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before they were moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -96,9 +96,9 @@ and
|
||||
functions first appeared in
|
||||
.Bx 4.4 .
|
||||
Their prototypes existed previously in
|
||||
.Aq Pa string.h
|
||||
.In string.h
|
||||
before they were moved to
|
||||
.Aq Pa strings.h
|
||||
.In strings.h
|
||||
for
|
||||
.St -p1003.1-2001
|
||||
compliance.
|
||||
|
@ -81,7 +81,7 @@ A mode is created from
|
||||
.Em or'd
|
||||
permission bit masks
|
||||
defined in
|
||||
.Aq Pa sys/stat.h :
|
||||
.In sys/stat.h :
|
||||
.Pp
|
||||
.Bd -literal -offset indent -compact
|
||||
#define S_IRWXU 0000700 /* RWX mask for owner */
|
||||
|
@ -162,7 +162,7 @@ pointed to a string that was too long.
|
||||
Login names are limited to
|
||||
.Dv MAXLOGNAME
|
||||
(from
|
||||
.Aq Pa sys/param.h )
|
||||
.In sys/param.h )
|
||||
characters, currently 17 including null.
|
||||
.It Bq Er EPERM
|
||||
The caller tried to set the login name and was not the super-user.
|
||||
|
@ -53,7 +53,7 @@ their error returns, and other common definitions and concepts.
|
||||
Nearly all of the system calls provide an error number referenced via
|
||||
the external identifier errno.
|
||||
This identifier is defined in
|
||||
.Aq Pa sys/errno.h
|
||||
.In sys/errno.h
|
||||
as
|
||||
.Pp
|
||||
.Dl extern int * __error();
|
||||
@ -88,7 +88,7 @@ to the type and circumstances of the call.
|
||||
.Pp
|
||||
The following is a complete list of the errors and their
|
||||
names as given in
|
||||
.Aq Pa sys/errno.h .
|
||||
.In sys/errno.h .
|
||||
.Bl -hang -width Ds
|
||||
.It Er 0 Em "Undefined error: 0" .
|
||||
Not used.
|
||||
@ -128,7 +128,7 @@ list of the new process exceeded the current limit
|
||||
of 65536 bytes
|
||||
.Dv ( NCARGS
|
||||
in
|
||||
.Aq Pa sys/param.h ) .
|
||||
.In sys/param.h ) .
|
||||
.It Er 8 ENOEXEC Em "Exec format error" .
|
||||
A request was made to execute a file
|
||||
that, although it has the appropriate permissions,
|
||||
|
@ -95,7 +95,7 @@ argument
|
||||
is a pointer to an array of
|
||||
.Va kevent
|
||||
structures, as defined in
|
||||
.Aq Pa sys/event.h .
|
||||
.In sys/event.h .
|
||||
All changes contained in the
|
||||
.Fa changelist
|
||||
are applied before any pending events are read from the queue.
|
||||
|
@ -133,7 +133,7 @@ bytes of a
|
||||
.Va ktr_type
|
||||
record.
|
||||
The type specific records are defined in the
|
||||
.Aq Pa sys/ktrace.h
|
||||
.In sys/ktrace.h
|
||||
include file.
|
||||
.Sh RETURN VALUES
|
||||
.Rv -std ktrace
|
||||
|
@ -64,7 +64,7 @@ The status is returned in the
|
||||
array, one character per page.
|
||||
Each character is either 0 if the page is not resident, or a combination of
|
||||
the following flags (defined in
|
||||
.Aq Pa sys/mman.h ) :
|
||||
.In sys/mman.h ) :
|
||||
.Bl -tag -width ".Dv MINCORE_REFERENCED_OTHER"
|
||||
.It Dv MINCORE_INCORE
|
||||
Page is in core (resident).
|
||||
|
@ -49,7 +49,7 @@ I/O.
|
||||
The
|
||||
.Fa fds
|
||||
argument is a pointer to an array of pollfd structures as defined in
|
||||
.Aq Pa poll.h
|
||||
.In poll.h
|
||||
(shown below). The
|
||||
.Fa nfds
|
||||
argument determines the size of the
|
||||
|
@ -197,7 +197,7 @@ This request reads the traced process's machine registers into the
|
||||
.Vt "struct reg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.It Dv PT_SETREGS
|
||||
@ -208,7 +208,7 @@ it loads the traced process's machine registers from the
|
||||
.Vt "struct reg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.It Dv PT_GETFPREGS
|
||||
@ -218,7 +218,7 @@ the
|
||||
.Vt "struct fpreg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.It Dv PT_SETFPREGS
|
||||
@ -229,7 +229,7 @@ it loads the traced process's floating-point registers from the
|
||||
.Vt "struct fpreg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.It Dv PT_GETDBREGS
|
||||
@ -239,7 +239,7 @@ the
|
||||
.Vt "struct dbreg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.It Dv PT_SETDBREGS
|
||||
@ -250,7 +250,7 @@ it loads the traced process's debug registers from the
|
||||
.Vt "struct dbreg"
|
||||
.Dc
|
||||
(defined in
|
||||
.Aq Pa machine/reg.h )
|
||||
.In machine/reg.h )
|
||||
pointed to by
|
||||
.Fa addr .
|
||||
.El
|
||||
|
@ -59,7 +59,7 @@ The
|
||||
argument
|
||||
is a mask of options; the system call interface allows the following
|
||||
options, defined in the include file
|
||||
.Aq Pa sys/reboot.h ,
|
||||
.In sys/reboot.h ,
|
||||
to be passed
|
||||
to the new kernel or the new bootstrap and init programs.
|
||||
.Bl -tag -width RB_INITNAMEA
|
||||
|
@ -181,7 +181,7 @@ it is possible
|
||||
to increase this size by having the program define
|
||||
.Dv FD_SETSIZE
|
||||
before the inclusion of any header which includes
|
||||
.Aq Pa sys/types.h .
|
||||
.In sys/types.h .
|
||||
.Pp
|
||||
If
|
||||
.Fa nfds
|
||||
|
@ -275,7 +275,7 @@ signals that restart pending system calls continue to do so.
|
||||
.Pp
|
||||
The following is a list of all signals
|
||||
with names as in the include file
|
||||
.Aq Pa signal.h :
|
||||
.In signal.h :
|
||||
.Bl -column SIGVTALARMXX "create core imagexxx"
|
||||
.It Sy "NAME Default Action Description"
|
||||
.It Dv SIGHUP No " terminate process" " terminal line hangup"
|
||||
|
@ -68,7 +68,7 @@ and the current mask.
|
||||
The function is specified by
|
||||
.Fa how
|
||||
using one of the following values from
|
||||
.Aq Pa signal.h :
|
||||
.In signal.h :
|
||||
.Bl -tag -width SIG_UNBLOCK
|
||||
.It Dv SIG_BLOCK
|
||||
The new mask is the union of the current mask and the specified
|
||||
|
@ -84,7 +84,7 @@ argument is a pointer to a
|
||||
.Vt stat
|
||||
structure
|
||||
as defined by
|
||||
.Aq Pa sys/stat.h
|
||||
.In sys/stat.h
|
||||
and into which information is placed concerning the file.
|
||||
.Pp
|
||||
The time-related fields of
|
||||
@ -169,7 +169,7 @@ has the following bits:
|
||||
.Ed
|
||||
.Pp
|
||||
For a list of access modes, see
|
||||
.Aq Pa sys/stat.h ,
|
||||
.In sys/stat.h ,
|
||||
.Xr access 2
|
||||
and
|
||||
.Xr chmod 2 .
|
||||
|
@ -83,7 +83,7 @@ was never called.
|
||||
The constant
|
||||
.Fa PTHREAD_ONCE_INIT
|
||||
is defined by header
|
||||
.Aq Pa pthread.h .
|
||||
.In pthread.h .
|
||||
.Pp
|
||||
The behavior of
|
||||
.Fn pthread_once
|
||||
|
@ -174,7 +174,7 @@ returns the weekday (Mo = 0 .. Su = 6) of the day numbered
|
||||
The structure
|
||||
.Fa date
|
||||
is defined in
|
||||
.Aq Pa calendar.h .
|
||||
.In calendar.h .
|
||||
It contains these fields:
|
||||
.Bd -literal -offset indent
|
||||
int y; /\(** year (0000 - ????) \(**/
|
||||
|
@ -204,7 +204,7 @@ long.
|
||||
.Pp
|
||||
.Fa flags
|
||||
are the flags defined in
|
||||
.Aq Pa cam/cam_ccb.h :
|
||||
.In cam/cam_ccb.h :
|
||||
.Bd -literal
|
||||
/* Common CCB header */
|
||||
/* CAM CCB flags */
|
||||
|
@ -55,7 +55,7 @@ The
|
||||
.Fn ftime
|
||||
routine fills in a structure pointed to by its argument,
|
||||
as defined by
|
||||
.Aq Pa sys/timeb.h :
|
||||
.In sys/timeb.h :
|
||||
.Bd -literal -offset indent
|
||||
/*
|
||||
* Structure returned by ftime system call
|
||||
|
@ -62,7 +62,7 @@ for at least
|
||||
.Em L_cuserid
|
||||
characters.
|
||||
The L_cuserid constant is defined in
|
||||
.Aq Pa stdio.h .
|
||||
.In stdio.h .
|
||||
.Pp
|
||||
If
|
||||
.Fa s
|
||||
|
@ -93,7 +93,7 @@ the library does not attempt to impose any structure on the data.
|
||||
.Pp
|
||||
Device, resource, and resource manager information is returned in
|
||||
data structures defined in
|
||||
.Aq Pa devinfo.h :
|
||||
.In devinfo.h :
|
||||
.Bd -literal -offset indent
|
||||
struct devinfo_dev {
|
||||
devinfo_handle_t dd_handle; /* device handle */
|
||||
|
@ -157,7 +157,7 @@ structure.
|
||||
The
|
||||
.Va statinfo
|
||||
structure can be found in
|
||||
.Aq Pa devstat.h :
|
||||
.In devstat.h :
|
||||
.Bd -literal -offset indent
|
||||
struct statinfo {
|
||||
long cp_time[CPUSTATES];
|
||||
|
@ -604,7 +604,7 @@ and
|
||||
.Dv EL_RPROMPT .
|
||||
.Sh BUGS
|
||||
The tokenization functions are not publically defined in
|
||||
.Aq Pa histedit.h .
|
||||
.In histedit.h .
|
||||
.Pp
|
||||
At this time, it is the responsibility of the caller to
|
||||
check the result of the
|
||||
|
@ -149,7 +149,7 @@ and
|
||||
return a pointer to a
|
||||
.Vt url
|
||||
structure, which is defined as follows in
|
||||
.Aq Pa fetch.h :
|
||||
.In fetch.h :
|
||||
.Bd -literal
|
||||
#define URL_SCHEMELEN 16
|
||||
#define URL_USERLEN 256
|
||||
@ -204,7 +204,7 @@ structure pointed to by its second argument.
|
||||
The
|
||||
.Vt url_stat
|
||||
structure is defined as follows in
|
||||
.Aq Pa fetch.h :
|
||||
.In fetch.h :
|
||||
.Bd -literal
|
||||
struct url_stat {
|
||||
off_t size;
|
||||
@ -232,7 +232,7 @@ structures.
|
||||
The
|
||||
.Vt url_ent
|
||||
structure is defined as follows in
|
||||
.Aq Pa fetch.h :
|
||||
.In fetch.h :
|
||||
.Bd -literal
|
||||
struct url_ent {
|
||||
char name[MAXPATHLEN];
|
||||
@ -401,7 +401,7 @@ All other functions return a stream pointer which may be used to
|
||||
access the requested document, or NULL if an error occurred.
|
||||
.Pp
|
||||
The following error codes are defined in
|
||||
.Aq Pa fetch.h :
|
||||
.In fetch.h :
|
||||
.Bl -tag -width 18n
|
||||
.It Bq Er FETCH_ABORT
|
||||
Operation aborted
|
||||
|
@ -83,7 +83,7 @@ was never called.
|
||||
The constant
|
||||
.Fa PTHREAD_ONCE_INIT
|
||||
is defined by header
|
||||
.Aq Pa pthread.h .
|
||||
.In pthread.h .
|
||||
.Pp
|
||||
The behavior of
|
||||
.Fn pthread_once
|
||||
|
@ -221,7 +221,7 @@ or
|
||||
may be used to specify vendor specific attributes.
|
||||
Vendor specific
|
||||
definitions may be found in
|
||||
.Aq Pa radlib_vs.h
|
||||
.In radlib_vs.h
|
||||
.Pp
|
||||
The library also provides a function
|
||||
.Fn rad_put_attr
|
||||
|
@ -168,7 +168,7 @@ and
|
||||
.Va service
|
||||
arguments must be set to appropriate values as defined in the
|
||||
TACACS+ protocol specification. The
|
||||
.Aq Pa taclib.h
|
||||
.In taclib.h
|
||||
header file contains symbolic constants for these values.
|
||||
.Sh CREATING A TACACS+ AUTHORIZATION REQUEST
|
||||
To begin constructing a new authorization request, call
|
||||
@ -180,7 +180,7 @@ and
|
||||
.Va service
|
||||
arguments must be set to appropriate values as defined in the
|
||||
TACACS+ protocol specification. The
|
||||
.Aq Pa taclib.h
|
||||
.In taclib.h
|
||||
header file contains symbolic constants for these values.
|
||||
.Sh SETTING OPTIONAL PARAMETERS ON A REQUEST
|
||||
After creating a request,
|
||||
@ -222,7 +222,7 @@ packed into an integer value. The status can be extracted using the
|
||||
macro
|
||||
.Fn TAC_AUTHEN_STATUS .
|
||||
Possible status codes, defined in
|
||||
.Aq Pa taclib.h ,
|
||||
.In taclib.h ,
|
||||
include:
|
||||
.Pp
|
||||
.Bl -item -compact -offset indent
|
||||
@ -312,7 +312,7 @@ number of attribute value (AV) pairs received packed into an
|
||||
integer value. The status can be extracted using the macro
|
||||
.Fn TAC_AUTHOR_STATUS .
|
||||
Possible status codes, defined in
|
||||
.Aq Pa taclib.h ,
|
||||
.In taclib.h ,
|
||||
include:
|
||||
.Pp
|
||||
.Bl -item -compact -offset indent
|
||||
|
@ -147,7 +147,7 @@ will be filled with the relevant data for the item.
|
||||
The definition of
|
||||
.Vt hid_item_t
|
||||
can be found in
|
||||
.Aq Pa usbhid.h
|
||||
.In usbhid.h
|
||||
and the meaning of the components in the USB HID documentation.
|
||||
.Pp
|
||||
Data should be read/written to the device in the size of
|
||||
|
@ -55,7 +55,7 @@ to the server of
|
||||
type
|
||||
.Tn LOOK_UP
|
||||
(see
|
||||
.Aq Pa protocols/talkd.h ) .
|
||||
.In protocols/talkd.h ) .
|
||||
This causes the server to search its invitation
|
||||
tables to check if an invitation currently exists for the caller
|
||||
(to speak to the callee specified in the message).
|
||||
|
@ -314,7 +314,7 @@ none of which are in current use.
|
||||
(See the definitions starting with
|
||||
.Dv FS_UNUSED
|
||||
in
|
||||
.Aq Pa sys/disklabel.h
|
||||
.In sys/disklabel.h
|
||||
for more details.)
|
||||
.It Ar fsize
|
||||
For
|
||||
|
@ -695,7 +695,7 @@ none of which are in current use.
|
||||
(See the definitions starting with
|
||||
.Dv FS_UNUSED
|
||||
in
|
||||
.Aq Pa sys/disklabel.h
|
||||
.In sys/disklabel.h
|
||||
for more details.)
|
||||
.It Ar fsize
|
||||
For
|
||||
|
@ -156,7 +156,7 @@ The default value used is
|
||||
defined by
|
||||
.Dv MINFREE
|
||||
from
|
||||
.Aq Pa ufs/ffs/fs.h ,
|
||||
.In ufs/ffs/fs.h ,
|
||||
currently 8%.
|
||||
See
|
||||
.Xr tunefs 8
|
||||
|
@ -486,7 +486,7 @@ heard from the specified
|
||||
a status of two if the transmission was successful but no responses
|
||||
were received; or another value
|
||||
(from
|
||||
.Aq Pa sysexits.h )
|
||||
.In sysexits.h )
|
||||
if an error occurred.
|
||||
.Sh SEE ALSO
|
||||
.Xr netstat 1 ,
|
||||
|
@ -262,22 +262,22 @@ More variables than these exist, and the best and likely only place
|
||||
to search for their deeper meaning is undoubtedly the source where
|
||||
they are defined.
|
||||
.Sh FILES
|
||||
.Bl -tag -width ".Aq Pa netinet/icmp_var.h" -compact
|
||||
.It Aq Pa sys/sysctl.h
|
||||
.Bl -tag -width ".In netinet/icmp_var.h" -compact
|
||||
.It In sys/sysctl.h
|
||||
definitions for top level identifiers, second level kernel and hardware
|
||||
identifiers, and user level identifiers
|
||||
.It Aq Pa sys/socket.h
|
||||
.It In sys/socket.h
|
||||
definitions for second level network identifiers
|
||||
.It Aq Pa sys/gmon.h
|
||||
.It In sys/gmon.h
|
||||
definitions for third level profiling identifiers
|
||||
.It Aq Pa vm/vm_param.h
|
||||
.It In vm/vm_param.h
|
||||
definitions for second level virtual memory identifiers
|
||||
.It Aq Pa netinet/in.h
|
||||
.It In netinet/in.h
|
||||
definitions for third level Internet identifiers and
|
||||
fourth level IP identifiers
|
||||
.It Aq Pa netinet/icmp_var.h
|
||||
.It In netinet/icmp_var.h
|
||||
definitions for fourth level ICMP identifiers
|
||||
.It Aq Pa netinet/udp_var.h
|
||||
.It In netinet/udp_var.h
|
||||
definitions for fourth level UDP identifiers
|
||||
.El
|
||||
.Sh COMPATIBILITY
|
||||
|
@ -545,7 +545,7 @@ reboot in order to leave the debugger.
|
||||
.It Ic debug Ar flags
|
||||
Set a bit mask of internal debugging flags. These will change without warning
|
||||
as the product matures; to be certain, read the header file
|
||||
.Aq Pa sys/dev/vinumvar.h .
|
||||
.In sys/dev/vinumvar.h .
|
||||
The bit mask is composed of the following values:
|
||||
.Bl -tag -width indent
|
||||
.It Dv DEBUG_ADDRESSES Pq No 1
|
||||
@ -1105,7 +1105,7 @@ have an existing configuration which you never want to see again.
|
||||
.Xc
|
||||
.Nm
|
||||
maintains a number of statistical counters for each object. See the header file
|
||||
.Aq Pa sys/dev/vinumvar.h
|
||||
.In sys/dev/vinumvar.h
|
||||
for more information.
|
||||
.\" XXX put it in here when it's finalized
|
||||
Use the
|
||||
|
@ -65,7 +65,7 @@ Second example.
|
||||
.El
|
||||
.Pp
|
||||
The above values are defined in
|
||||
.Aq Pa example.h
|
||||
.In example.h
|
||||
as follows:
|
||||
.Bd -literal
|
||||
#define EXAMPLE_ONE 1
|
||||
|
@ -83,7 +83,7 @@ was never called.
|
||||
The constant
|
||||
.Fa PTHREAD_ONCE_INIT
|
||||
is defined by header
|
||||
.Aq Pa pthread.h .
|
||||
.In pthread.h .
|
||||
.Pp
|
||||
The behavior of
|
||||
.Fn pthread_once
|
||||
|
@ -56,7 +56,7 @@
|
||||
A function may be called with a varying number of arguments of varying
|
||||
types.
|
||||
The include file
|
||||
.Aq Pa stdarg.h
|
||||
.In stdarg.h
|
||||
declares a type
|
||||
.Pq Em va_list
|
||||
and defines three macros for stepping
|
||||
@ -211,7 +211,7 @@ These macros are
|
||||
compatible with the historic macros they replace.
|
||||
A backward compatible version can be found in the include
|
||||
file
|
||||
.Aq Pa varargs.h .
|
||||
.In varargs.h .
|
||||
.Sh BUGS
|
||||
Unlike the
|
||||
.Em varargs
|
||||
|
@ -58,7 +58,7 @@ and
|
||||
.Xr settimeofday 2
|
||||
calls.
|
||||
The structure is defined in
|
||||
.Aq Pa sys/time.h
|
||||
.In sys/time.h
|
||||
as:
|
||||
.Bd -literal
|
||||
struct timeval {
|
||||
|
@ -64,7 +64,7 @@ The following
|
||||
operations can be performed on
|
||||
.Pa /dev/agpgart ,
|
||||
which are defined in
|
||||
.Aq Pa sys/agpio.h :
|
||||
.In sys/agpio.h :
|
||||
.Bl -tag -width indent
|
||||
.It Dv AGPIOC_INFO
|
||||
Returns state of the
|
||||
@ -104,7 +104,7 @@ typedef struct _agp_setup {
|
||||
.Ed
|
||||
.Pp
|
||||
The mode bits are defined in
|
||||
.Aq Pa sys/agpio.h .
|
||||
.In sys/agpio.h .
|
||||
.It Dv AGPIOC_ALLOCATE
|
||||
Allocate physical memory suitable for mapping into the AGP aperture.
|
||||
This
|
||||
|
@ -98,7 +98,7 @@ links are supported.
|
||||
The
|
||||
.Xr ioctl 2
|
||||
command codes below are defined in
|
||||
.Aq Pa net/bpf.h .
|
||||
.In net/bpf.h .
|
||||
All commands require
|
||||
these includes:
|
||||
.Bd -literal
|
||||
@ -113,9 +113,9 @@ Additionally,
|
||||
and
|
||||
.Dv BIOCSETIF
|
||||
require
|
||||
.Aq Pa sys/socket.h
|
||||
.In sys/socket.h
|
||||
and
|
||||
.Aq Pa net/if.h .
|
||||
.In net/if.h .
|
||||
.Pp
|
||||
In addition to
|
||||
.Dv FIONREAD
|
||||
@ -154,7 +154,7 @@ is returned if no interface has been specified.
|
||||
The device types, prefixed with
|
||||
.Dq Li DLT_ ,
|
||||
are defined in
|
||||
.Aq Pa net/bpf.h .
|
||||
.In net/bpf.h .
|
||||
.It Dv BIOCPROMISC
|
||||
Forces the interface into promiscuous mode.
|
||||
All packets, not just those destined for the local host, are processed.
|
||||
@ -275,7 +275,7 @@ The current version numbers are given by
|
||||
and
|
||||
.Dv BPF_MINOR_VERSION
|
||||
from
|
||||
.Aq Pa net/bpf.h .
|
||||
.In net/bpf.h .
|
||||
An incompatible filter
|
||||
may result in undefined behavior (most likely, an error returned by
|
||||
.Fn ioctl
|
||||
@ -359,7 +359,7 @@ has some knowledge of how to get from packet to packet.
|
||||
The macro
|
||||
.Dv BPF_WORDALIGN
|
||||
is defined in
|
||||
.Aq Pa net/bpf.h
|
||||
.In net/bpf.h
|
||||
to facilitate
|
||||
this process.
|
||||
It rounds up its argument to the nearest word aligned value (where a word is
|
||||
@ -422,7 +422,7 @@ and
|
||||
Various other mode and
|
||||
operator bits are or'd into the class to give the actual instructions.
|
||||
The classes and modes are defined in
|
||||
.Aq Pa net/bpf.h .
|
||||
.In net/bpf.h .
|
||||
.Pp
|
||||
Below are the semantics for each defined
|
||||
.Nm
|
||||
|
@ -99,9 +99,9 @@ calls which apply to
|
||||
.Tn CD-ROM
|
||||
drives are defined
|
||||
in the header files
|
||||
.Aq Pa sys/cdio.h
|
||||
.In sys/cdio.h
|
||||
and
|
||||
.Aq Pa sys/disklabel.h .
|
||||
.In sys/disklabel.h .
|
||||
.Pp
|
||||
.Bl -tag -width CDIOCREADSUBCHANNEL
|
||||
.It Dv DIOCGDINFO
|
||||
|
@ -97,7 +97,7 @@ The following
|
||||
calls apply to the changer.
|
||||
They are defined
|
||||
in the header file
|
||||
.Aq Pa sys/chio.h .
|
||||
.In sys/chio.h .
|
||||
.Pp
|
||||
.Bl -tag -width CHIOEXCHANGE
|
||||
.It Dv CHIOMOVE
|
||||
|
@ -165,7 +165,7 @@ calls apply to
|
||||
.Tn SCSI
|
||||
disks as well as to other disks.
|
||||
They are defined in the header file
|
||||
.Aq Pa sys/disklabel.h .
|
||||
.In sys/disklabel.h .
|
||||
.Pp
|
||||
.Bl -tag -width DIOCSDINFO
|
||||
.It Dv DIOCSBAD
|
||||
|
@ -178,7 +178,7 @@ driver offers a number of configurable options using
|
||||
.Xr ioctl 2 .
|
||||
In order to access any of this functionality, programmers need to
|
||||
include the header file
|
||||
.Aq Pa sys/fdcio.h
|
||||
.In sys/fdcio.h
|
||||
into their programs.
|
||||
The call to
|
||||
.Xr open 2
|
||||
|
@ -78,7 +78,7 @@ The manifest constants for each level in the
|
||||
.Xr sysctl 3
|
||||
.Ar name
|
||||
are defined in
|
||||
.Aq Pa net/if_mib.h .
|
||||
.In net/if_mib.h .
|
||||
The index of the last row in the table is given by
|
||||
.Dq Li net.link.generic.system.ifcount
|
||||
(or, using the manifest constants,
|
||||
@ -132,7 +132,7 @@ the number of promiscuous listeners
|
||||
.It Li ifmd_flags
|
||||
.Pq Li int
|
||||
the interface's flags (defined in
|
||||
.Aq Pa net/if.h )
|
||||
.In net/if.h )
|
||||
.It Li ifmd_snd_len
|
||||
.Pq Li int
|
||||
the current instantaneous length of the send queue
|
||||
@ -143,7 +143,7 @@ was full
|
||||
.It Li ifmd_data
|
||||
.Pq Li struct if_data
|
||||
more information from a structure defined in
|
||||
.Aq Pa net/if.h
|
||||
.In net/if.h
|
||||
(see
|
||||
.Xr if_data 9 )
|
||||
.El
|
||||
@ -161,7 +161,7 @@ and
|
||||
interfaces, the structure is called
|
||||
.Dq Li struct ifmib_iso_8802_3
|
||||
(defined in
|
||||
.Aq Pa net/if_mib.h ) ,
|
||||
.In net/if_mib.h ) ,
|
||||
and implements a superset of the
|
||||
.Tn "RFC 1650"
|
||||
MIB for Ethernet-like networks.
|
||||
@ -170,7 +170,7 @@ For
|
||||
.Dv IFT_SLIP ,
|
||||
the structure is a
|
||||
.Dq Li struct sl_softc
|
||||
.Pq Aq Pa net/if_slvar.h .
|
||||
.Pq In net/if_slvar.h .
|
||||
.Sh SEE ALSO
|
||||
.Xr sysctl 3 ,
|
||||
.Xr intro 4 ,
|
||||
|
@ -63,7 +63,7 @@ network standard format (on the
|
||||
these are word and byte
|
||||
reversed).
|
||||
The include file
|
||||
.Aq Pa netinet/in.h
|
||||
.In netinet/in.h
|
||||
defines this address
|
||||
as a discriminated union.
|
||||
.Pp
|
||||
|
@ -68,7 +68,7 @@ protocol.
|
||||
.Sh ADDRESSING
|
||||
IPv6 addresses are 16 byte quantities, stored in network standard byteorder.
|
||||
The include file
|
||||
.Aq Pa netinet/in.h
|
||||
.In netinet/in.h
|
||||
defines this address
|
||||
as a discriminated union.
|
||||
.Pp
|
||||
|
@ -81,7 +81,7 @@ By default the run time mask is set to log only
|
||||
.Dv KTR_GEN
|
||||
events.
|
||||
The definitions of the event mask bits can be found in
|
||||
.Aq Pa sys/ktr.h .
|
||||
.In sys/ktr.h .
|
||||
.Pp
|
||||
Furthermore, there is a CPU event mask whose default value can be changed via
|
||||
the
|
||||
|
@ -59,7 +59,7 @@ the special device file
|
||||
This device supports a number of
|
||||
.Xr ioctl 2
|
||||
requests, defined in
|
||||
.Aq Pa machine/perfmon.h
|
||||
.In machine/perfmon.h
|
||||
along with the definitions of the various counters for both
|
||||
.Tn Pentium
|
||||
and
|
||||
@ -87,7 +87,7 @@ the number of the counter in question; must be less than
|
||||
(currently 2).
|
||||
.It Li "u_char pmc_event"
|
||||
the particular event number to be monitored, as defined in
|
||||
.Aq Pa machine/perfmon.h .
|
||||
.In machine/perfmon.h .
|
||||
.It Li "u_char pmc_unit"
|
||||
the unit mask value, specific to the event type (see the
|
||||
.Tn Intel
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user