diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2003-09-10 19:24:35 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2003-09-10 19:24:35 +0000 |
commit | 743d5d518c25e41a3e9026d400fa625efc306c82 (patch) | |
tree | eef4036b4299212e7d9f218a5394cd119824ab1f /lib | |
parent | 6fac181c69796d77d480e152882376531588a7c6 (diff) |
mdoc(7): Properly mark C headers.
Notes
Notes:
svn path=/head/; revision=119964
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/exec.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/fnmatch.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/getdomainname.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/glob.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/inet6_option_space.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/inet6_rthdr_space.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/resolver.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 2 | ||||
-rw-r--r-- | lib/libc/sys/acct.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/getitimer.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/ioctl.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/quotactl.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/setgroups.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/socket.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/sysarch.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/syscall.2 | 2 | ||||
-rw-r--r-- | lib/libipsec/ipsec_strerror.3 | 2 | ||||
-rw-r--r-- | lib/libstand/libstand.3 | 4 | ||||
-rw-r--r-- | lib/libutil/realhostname.3 | 2 | ||||
-rw-r--r-- | lib/libutil/realhostname_sa.3 | 2 |
24 files changed, 34 insertions, 34 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index fd23e16611b6..b3c219169caa 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -163,7 +163,7 @@ If this variable isn't specified, the default path is set according to the .Dv _PATH_DEFPATH definition in -.Aq paths.h , +.In paths.h , which is set to .Dq Ev /usr/bin:/bin . For diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3 index c96b1643c376..e58f05615570 100644 --- a/lib/libc/gen/fnmatch.3 +++ b/lib/libc/gen/fnmatch.3 @@ -69,7 +69,7 @@ is the bitwise inclusive .Tn OR of any of the following constants, which are defined in the include file -.Pa fnmatch.h . +.In fnmatch.h . .Bl -tag -width FNM_PATHNAME .It Dv FNM_NOESCAPE Normally, every occurrence of a backslash diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index aa4c5d8387d6..e0635906ee3e 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -94,7 +94,7 @@ The caller tried to set the hostname and was not the super-user. Domain names are limited to .Dv MAXHOSTNAMELEN (from -.Ao Pa sys/param.h Ac ) +.In sys/param.h ) characters, currently 256. .Sh HISTORY The diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 916802185259..bd5214cb7118 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -57,7 +57,7 @@ is a pathname generator that implements the rules for file name pattern matching used by the shell. .Pp The include file -.Pa glob.h +.In glob.h defines the structure type .Fa glob_t , which contains at least the following fields: @@ -121,7 +121,7 @@ is the bitwise inclusive .Tn OR of any of the following values defined in -.Pa glob.h : +.In glob.h : .Bl -tag -width GLOB_ALTDIRFUNC .It Dv GLOB_APPEND Append pathnames generated to the ones from a previous call (or calls) diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3 index 0f1fd4125d12..c050aec9207d 100644 --- a/lib/libc/net/inet6_option_space.3 +++ b/lib/libc/net/inet6_option_space.3 @@ -71,7 +71,7 @@ ancillary data manipulation. RFC2292 defines a set of functions to help the application. The function prototypes for these functions are all in the -.Aq Li netinet/in.h +.In netinet/in.h header. .\" .Ss inet6_option_space diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3 index 428d96f63f65..055a290cfda9 100644 --- a/lib/libc/net/inet6_rthdr_space.3 +++ b/lib/libc/net/inet6_rthdr_space.3 @@ -97,7 +97,7 @@ fetch one flag from a Routing header .El .Pp The function prototypes for these functions are all in the -.Aq Li netinet/in.h +.In netinet/in.h header. .\" .Ss inet6_rthdr_space diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 4b98ef251617..7c5e7bb61d32 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -131,7 +131,7 @@ Options stored in .Va _res.options are defined in -.Pa resolv.h +.In resolv.h and are as follows. Options are stored as a simple bit mask containing the bitwise ``or'' of the options enabled. diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 8df433c368d6..1a840a2b0665 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -209,7 +209,7 @@ This was changed by to decouple .Fn getopt from -.Pa <stdio.h> . +.In stdio.h . .Pp A single dash .Dq Li - diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index 2786fe49f867..43e1a904f6a7 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -69,7 +69,7 @@ produced by For more information on the record structure used by .Fn acct , see -.Pa /usr/include/sys/acct.h +.In sys/acct.h and .Xr acct 5 . .Pp diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 4c80f8f9ae6a..a73c1e68c312 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -73,7 +73,7 @@ kernel mode. The structure pointed to by .Fa tp is defined in -.Ao Pa sys/time.h Ac +.In sys/time.h as: .Pp .Bd -literal diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index 38e384d72d70..99499830e055 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -53,7 +53,7 @@ .Sh DESCRIPTION The system provides each process with three interval timers, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . The .Fn getitimer system call returns the current value for the timer specified in @@ -139,7 +139,7 @@ in is 100000000. .Sh NOTES Three macros for manipulating time values are defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . The .Fn timerclear macro diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 3889b2621cab..e5d2faa758c7 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -107,7 +107,7 @@ argument and any specified options are passed uninterpreted to the appropriate protocol module for interpretation. The include file -.Ao Pa sys/socket.h Ac +.In sys/socket.h contains definitions for socket level options, described below. Options at other protocol levels vary in format and @@ -127,7 +127,7 @@ or zero if the option is to be disabled. uses a .Vt "struct linger" argument, defined in -.Ao Pa sys/socket.h Ac , +.In sys/socket.h , which specifies the desired state of the option and the linger interval (see below). .Dv SO_SNDTIMEO @@ -136,7 +136,7 @@ and use a .Vt "struct timeval" argument, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . .Pp The following options are recognized at the socket level. Except as noted, each may be examined with diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 4aa62f091d92..bdfe19431111 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -75,7 +75,7 @@ The structures pointed to by and .Fa tzp are defined in -.Ao Pa sys/time.h Ac +.In sys/time.h as: .Pp .Bd -literal diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 3278e4921502..3cb4ee058094 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -85,7 +85,7 @@ in bytes. Macros and defines used in specifying an ioctl .Fa request are located in the file -.Ao Pa sys/ioctl.h Ac . +.In sys/ioctl.h . .Sh RETURN VALUES If an error has occurred, a value of -1 is returned and .Va errno diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index 6a4c09bccb47..12f724d243a9 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -61,7 +61,7 @@ operates on the given filename for the given user .Fa id . (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 .Fa cmd . ) The address of an optional command specific data structure, @@ -118,7 +118,7 @@ argument is a pointer to a .Fa struct dqblk structure (defined in -.Ao Pa ufs/ufs/quota.h Ac ) . +.In ufs/ufs/quota.h ) . .It Dv Q_SETQUOTA Set disk quota limits for the user or group (as determined by the command type) with identifier @@ -129,7 +129,7 @@ argument is a pointer to a .Fa struct dqblk structure (defined in -.Ao Pa ufs/ufs/quota.h Ac ) . +.In ufs/ufs/quota.h ) . The usage fields of the .Fa dqblk structure are ignored. @@ -144,7 +144,7 @@ argument is a pointer to a .Fa struct dqblk structure (defined in -.Ao Pa ufs/ufs/quota.h Ac ) . +.In ufs/ufs/quota.h ) . Only the usage fields are used. This system call is restricted to the super-user. .It Dv Q_SYNC diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index a2ea33a63bd5..4cb91801203a 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -152,7 +152,7 @@ system call uses a .Fa msghdr structure to minimize the number of directly supplied arguments. This structure has the following form, as defined in -.Ao Pa sys/socket.h Ac : +.In sys/socket.h : .Pp .Bd -literal struct msghdr { @@ -226,7 +226,7 @@ In this case, should be a structure of type .Fa cmsgcred , which is defined in -.Ao Pa sys/socket.h Ac +.In sys/socket.h as follows: .Pp .Bd -literal diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2 index 1570ac7e5d52..1ff68749a57f 100644 --- a/lib/libc/sys/setgroups.2 +++ b/lib/libc/sys/setgroups.2 @@ -59,7 +59,7 @@ indicates the number of entries in the array and must be no more than .Dv NGROUPS , as defined in -.Ao Pa sys/param.h Ac . +.In sys/param.h . .Pp Only the super-user may set new groups. .Sh RETURN VALUES diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 606099b37035..dab67b2fadf9 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -57,7 +57,7 @@ argument specifies a communications domain within which communication will take place; this selects the protocol family which should be used. These families are defined in the include file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . The currently understood formats are: .Pp .Bd -literal -offset indent -compact @@ -225,7 +225,7 @@ via The operation of sockets is controlled by socket level .Em options . These options are defined in the file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . The .Xr setsockopt 2 and diff --git a/lib/libc/sys/sysarch.2 b/lib/libc/sys/sysarch.2 index 6e631bcb95a5..0b3e8ae9efdd 100644 --- a/lib/libc/sys/sysarch.2 +++ b/lib/libc/sys/sysarch.2 @@ -64,7 +64,7 @@ arguments of the function. Symbolic constants and argument structures for the architecture-dependent functions can be found in the header file -.Ao Pa machine/sysarch.h Ac . +.In machine/sysarch.h . .Pp The .Fn sysarch diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2 index df913251e048..675cf8eca3aa 100644 --- a/lib/libc/sys/syscall.2 +++ b/lib/libc/sys/syscall.2 @@ -57,7 +57,7 @@ interface has the specified .Fa number with the specified arguments. Symbolic constants for system calls can be found in the header file -.Ao Pa sys/syscall.h Ac . +.In sys/syscall.h . The .Fn __syscall form should be used when one or more of the arguments is a diff --git a/lib/libipsec/ipsec_strerror.3 b/lib/libipsec/ipsec_strerror.3 index bdddbd50dba1..9f8d27a2c276 100644 --- a/lib/libipsec/ipsec_strerror.3 +++ b/lib/libipsec/ipsec_strerror.3 @@ -42,7 +42,7 @@ .Fn ipsec_strerror .\" .Sh DESCRIPTION -.Pa netinet6/ipsec.h +.In netinet6/ipsec.h declares .Pp .Dl extern int ipsec_errcode; diff --git a/lib/libstand/libstand.3 b/lib/libstand/libstand.3 index a087b8bd05b4..634cc9fb1d39 100644 --- a/lib/libstand/libstand.3 +++ b/lib/libstand/libstand.3 @@ -176,7 +176,7 @@ Returns error messages for the subset of errno values supported by .It Fn assert expression .Pp Requires -.In assert.h +.In assert.h . .It Xo .Ft int .Fn setjmp "jmp_buf env" @@ -191,7 +191,7 @@ Defined as and .Fn _longjmp respectively as there is no signal state to manipulate. Requires -.In setjmp.h +.In setjmp.h . .El .Sh CHARACTER I/O .Bl -hang -width 10n diff --git a/lib/libutil/realhostname.3 b/lib/libutil/realhostname.3 index a77c44cf1d3d..37b166a6852b 100644 --- a/lib/libutil/realhostname.3 +++ b/lib/libutil/realhostname.3 @@ -74,7 +74,7 @@ will not be NUL terminated. The .Fn realhostname function will return one of the following constants which are defined in -.Pa libutil.h : +.In libutil.h : .Pp .Bl -tag -width XXX -offset XXX .It Li HOSTNAME_FOUND diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3 index 73d89f7ad3d7..72340aa92d32 100644 --- a/lib/libutil/realhostname_sa.3 +++ b/lib/libutil/realhostname_sa.3 @@ -103,7 +103,7 @@ will not be NUL terminated. The .Fn realhostname_sa function will return one of the following constants which are defined in -.Pa libutil.h : +.In libutil.h : .Pp .Bl -tag -width XXX -offset XXX .It Li HOSTNAME_FOUND |