diff options
Diffstat (limited to 'lib/libc/sys')
144 files changed, 246 insertions, 246 deletions
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2 index efeb4e8..0793374 100644 --- a/lib/libc/sys/_exit.2 +++ b/lib/libc/sys/_exit.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft void .Fn _exit "int status" .Sh DESCRIPTION diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 968f4ce..736d068 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn accept "int s" "struct sockaddr *addr" "socklen_t *addrlen" .Sh DESCRIPTION diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2 index 23cc3c0..2460aec 100644 --- a/lib/libc/sys/access.2 +++ b/lib/libc/sys/access.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn access "const char *path" "int mode" .Ft int diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index ed41171..ab219bd 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn acct "const char *file" .Sh DESCRIPTION diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2 index f6a0051..2301aaf 100644 --- a/lib/libc/sys/adjtime.2 +++ b/lib/libc/sys/adjtime.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft int .Fn adjtime "const struct timeval *delta" "struct timeval *olddelta" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2 index 320e36f..832356b 100644 --- a/lib/libc/sys/aio_cancel.2 +++ b/lib/libc/sys/aio_cancel.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_cancel "int fildes" "struct aiocb * iocb" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2 index af5cade..4347758 100644 --- a/lib/libc/sys/aio_error.2 +++ b/lib/libc/sys/aio_error.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_error "const struct aiocb *iocb" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 index 839805e..b57de3e 100644 --- a/lib/libc/sys/aio_read.2 +++ b/lib/libc/sys/aio_read.2 @@ -33,8 +33,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <time.h> -.Fd #include <aio.h> +.In time.h +.In aio.h .Ft int .Fn aio_read "struct aiocb *iocb" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 64bc8c9..2d50143 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_return "struct aiocb *iocb" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 index d59cb8d..d208d91 100644 --- a/lib/libc/sys/aio_suspend.2 +++ b/lib/libc/sys/aio_suspend.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_suspend "const struct aiocb * const iocbs[]" "int niocb" "const struct timespec * timeout" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2 index c554673..de01283 100644 --- a/lib/libc/sys/aio_waitcomplete.2 +++ b/lib/libc/sys/aio_waitcomplete.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_waitcomplete "struct aiocb **iocbp" "struct timespec *timeout" .Sh DESCRIPTION diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2 index 8215720..d7b57c6 100644 --- a/lib/libc/sys/aio_write.2 +++ b/lib/libc/sys/aio_write.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <aio.h> +.In aio.h .Ft int .Fn aio_write "struct aiocb *iocb" .Sh DESCRIPTION diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index 7024168..3f9d707 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn bind "int s" "const struct sockaddr *addr" "socklen_t addrlen" .Sh DESCRIPTION diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index c215be9..ac3a8d8 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft char * .Fn brk "const char *addr" .Ft char * diff --git a/lib/libc/sys/chdir.2 b/lib/libc/sys/chdir.2 index 8648789..13da8b3 100644 --- a/lib/libc/sys/chdir.2 +++ b/lib/libc/sys/chdir.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn chdir "const char *path" .Ft int diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index 05205c6..dae7efd 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/stat.h> -.Fd #include <unistd.h> +.In sys/stat.h +.In unistd.h .Ft int .Fn chflags "const char *path" "u_long flags" .Ft int diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index 5a165ca..9121954 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/stat.h> +.In sys/stat.h .Ft int .Fn chmod "const char *path" "mode_t mode" .Ft int diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 65fd888..dc1d067 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn chown "const char *path" "uid_t owner" "gid_t group" .Ft int diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index eeb9def..c46f16e 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn chroot "const char *dirname" .Sh DESCRIPTION diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 633f3f9..31f6a4e 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft int .Fn clock_gettime "clockid_t clock_id" "struct timespec *tp" .Ft int diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 6a6fb0f..9192ae1 100644 --- a/lib/libc/sys/close.2 +++ b/lib/libc/sys/close.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn close "int d" .Sh DESCRIPTION diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index eb1c618..975b6c6 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn connect "int s" "const struct sockaddr *name" "socklen_t namelen" .Sh DESCRIPTION diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2 index 9c2a7b1..d9a7a3f 100644 --- a/lib/libc/sys/dup.2 +++ b/lib/libc/sys/dup.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn dup "int oldd" .Ft int diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 9086232..89c0ecb 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn execve "const char *path" "char *const argv[]" "char *const envp[]" .Sh DESCRIPTION diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2 index bb44004..45b767d 100644 --- a/lib/libc/sys/extattr_get_file.2 +++ b/lib/libc/sys/extattr_get_file.2 @@ -39,8 +39,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/extattr.h> -.Fd #include <sys/uio.h> +.In sys/extattr.h +.In sys/uio.h .Ft int .Fn extattr_get_fd "int fd" "int attrnamespace" "const char *attrname" "struct iovec *iovp" "unsigned iovcnt" .Ft int diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index 5e65f2c..f416903 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <fcntl.h> +.In fcntl.h .Ft int .Fn fcntl "int fd" "int cmd" "..." .Sh DESCRIPTION diff --git a/lib/libc/sys/fhopen.2 b/lib/libc/sys/fhopen.2 index 270be1c..bf66a08 100644 --- a/lib/libc/sys/fhopen.2 +++ b/lib/libc/sys/fhopen.2 @@ -43,9 +43,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/stat.h> +.In sys/param.h +.In sys/mount.h +.In sys/stat.h .Ft int .Fn fhopen "const fhandle_t *fhp" "int flags" .Ft int diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index d890bed..33dcec5 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/file.h> +.In sys/file.h .Fd "#define LOCK_SH 0x01 /* shared file lock */" .Fd "#define LOCK_EX 0x02 /* exclusive file lock */" .Fd "#define LOCK_NB 0x04 /* don't block when locking */" diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2 index 047e5a9..83f1471 100644 --- a/lib/libc/sys/fork.2 +++ b/lib/libc/sys/fork.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft pid_t .Fn fork void .Sh DESCRIPTION diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2 index 33a0167..ac28aef 100644 --- a/lib/libc/sys/fsync.2 +++ b/lib/libc/sys/fsync.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn fsync "int fd" .Sh DESCRIPTION diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 48d2e0e..769ce32 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <dirent.h> +.In sys/types.h +.In dirent.h .Ft int .Fn getdirentries "int fd" "char *buf" "int nbytes" "long *basep" .Ft int diff --git a/lib/libc/sys/getdtablesize.2 b/lib/libc/sys/getdtablesize.2 index 28344ac..a5ed3dc 100644 --- a/lib/libc/sys/getdtablesize.2 +++ b/lib/libc/sys/getdtablesize.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn getdtablesize void .Sh DESCRIPTION diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2 index 422c1f6..fcaff6c 100644 --- a/lib/libc/sys/getfh.2 +++ b/lib/libc/sys/getfh.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/mount.h .Ft int .Fn getfh "const char *path" "fhandle_t *fhp" .Sh DESCRIPTION diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2 index bec4f14..8d4d545 100644 --- a/lib/libc/sys/getfsstat.2 +++ b/lib/libc/sys/getfsstat.2 @@ -41,9 +41,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/ucred.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/ucred.h +.In sys/mount.h .Ft int .Fn getfsstat "struct statfs *buf" "long bufsize" "int flags" .Sh DESCRIPTION diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2 index 39215e1..3bc8658 100644 --- a/lib/libc/sys/getgid.2 +++ b/lib/libc/sys/getgid.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft gid_t .Fn getgid void .Ft gid_t diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2 index 7b0789d..3538b38 100644 --- a/lib/libc/sys/getgroups.2 +++ b/lib/libc/sys/getgroups.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft int .Fn getgroups "int gidsetlen" "gid_t *gidset" .Sh DESCRIPTION diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index e99e9a8..5e3eda7 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Fd "#define ITIMER_REAL 0" .Fd "#define ITIMER_VIRTUAL 1" .Fd "#define ITIMER_PROF 2" diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2 index 07e54f6..04a32a6 100644 --- a/lib/libc/sys/getlogin.2 +++ b/lib/libc/sys/getlogin.2 @@ -43,10 +43,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft char * .Fn getlogin void -.Fd #include <sys/param.h> +.In sys/param.h .Ft int .Fn getlogin_r "char *name" "int len" .Ft int diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 28d7a92..8aa5625 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn getpeername "int s" "struct sockaddr *name" "socklen_t *namelen" .Sh DESCRIPTION diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2 index 30209ac..a35f1ed 100644 --- a/lib/libc/sys/getpgrp.2 +++ b/lib/libc/sys/getpgrp.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft pid_t .Fn getpgrp void .Ft pid_t diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2 index 656d7e7..4c9889c 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft pid_t .Fn getpid void .Ft pid_t diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2 index d156702..ef45d13b 100644 --- a/lib/libc/sys/getpriority.2 +++ b/lib/libc/sys/getpriority.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> -.Fd #include <sys/resource.h> +.In sys/time.h +.In sys/resource.h .Ft int .Fn getpriority "int which" "int who" .Ft int diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index d573fbc..5b5c149 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -42,9 +42,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/resource.h> +.In sys/types.h +.In sys/time.h +.In sys/resource.h .Ft int .Fn getrlimit "int resource" "struct rlimit *rlp" .Ft int diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2 index 80e1197..599bebc 100644 --- a/lib/libc/sys/getrusage.2 +++ b/lib/libc/sys/getrusage.2 @@ -41,9 +41,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/resource.h> +.In sys/types.h +.In sys/time.h +.In sys/resource.h .Fd "#define RUSAGE_SELF 0" .Fd "#define RUSAGE_CHILDREN -1" .Ft int diff --git a/lib/libc/sys/getsid.2 b/lib/libc/sys/getsid.2 index ea91e62..2800248 100644 --- a/lib/libc/sys/getsid.2 +++ b/lib/libc/sys/getsid.2 @@ -32,7 +32,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft pid_t .Fn getsid "pid_t pid" .Sh DESCRIPTION diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index e5b2c3c..5d0890d 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn getsockname "int s" "struct sockaddr *name" "socklen_t *namelen" .Sh DESCRIPTION diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index c61691e..f570085 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn getsockopt "int s" "int level" "int optname" "void *optval" "socklen_t *optlen" .Ft int diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index a0cb096..2a486d1 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft int .Fn gettimeofday "struct timeval *tp" "struct timezone *tzp" .Ft int diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2 index 95873bf..e352adf 100644 --- a/lib/libc/sys/getuid.2 +++ b/lib/libc/sys/getuid.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> -.Fd #include <sys/types.h> +.In unistd.h +.In sys/types.h .Ft uid_t .Fn getuid void .Ft uid_t diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index c4f3c4b..9780339 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <errno.h> +.In errno.h .Sh DESCRIPTION This section provides an overview of the system calls, their error returns, and other common definitions and concepts. diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 15c12e0..c16e12e 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/ioctl.h> +.In sys/ioctl.h .Ft int .Fn ioctl "int d" "unsigned long request" ... .Sh DESCRIPTION diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2 index 2e1ff58..10aa6df 100644 --- a/lib/libc/sys/issetugid.2 +++ b/lib/libc/sys/issetugid.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn issetugid void .Sh DESCRIPTION diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 15ff287..eae2f87 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -17,8 +17,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/jail.h> +.In sys/types.h +.In sys/jail.h .Ft int .Fn jail "struct jail *jail" .Sh DESCRIPTION diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 8180762..a04f46f 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <signal.h> +.In sys/types.h +.In signal.h .Ft int .Fn kill "pid_t pid" "int sig" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldfind.2 b/lib/libc/sys/kldfind.2 index 4cfc6a8..b7be17a 100644 --- a/lib/libc/sys/kldfind.2 +++ b/lib/libc/sys/kldfind.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldfind "const char *file" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldfirstmod.2 b/lib/libc/sys/kldfirstmod.2 index adaa6e5..8b51be0 100644 --- a/lib/libc/sys/kldfirstmod.2 +++ b/lib/libc/sys/kldfirstmod.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldfirstmod "int fileid" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldload.2 b/lib/libc/sys/kldload.2 index f5c5ef8..e289a5e 100644 --- a/lib/libc/sys/kldload.2 +++ b/lib/libc/sys/kldload.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldload "const char *file" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldnext.2 b/lib/libc/sys/kldnext.2 index 3382c68..bf56ad0 100644 --- a/lib/libc/sys/kldnext.2 +++ b/lib/libc/sys/kldnext.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldnext "int fileid" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2 index 5b3fe69..99b06f7 100644 --- a/lib/libc/sys/kldstat.2 +++ b/lib/libc/sys/kldstat.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldstat "int fileid" "struct kld_file_stat *stat" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2 index c2fbf4b..f14d5e8 100644 --- a/lib/libc/sys/kldunload.2 +++ b/lib/libc/sys/kldunload.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/linker.h> +.In sys/param.h +.In sys/linker.h .Ft int .Fn kldunload "int fileid" .Sh DESCRIPTION diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 7298511..1227215 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -34,9 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/event.h> -.Fd #include <sys/time.h> +.In sys/types.h +.In sys/event.h +.In sys/time.h .Ft int .Fn kqueue "void" .Ft int diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index e903ff2..6060e3f 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -41,10 +41,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/time.h> -.Fd #include <sys/uio.h> -.Fd #include <sys/ktrace.h> +.In sys/param.h +.In sys/time.h +.In sys/uio.h +.In sys/ktrace.h .Ft int .Fn ktrace "const char *tracefile" "int ops" "int trpoints" "int pid" .Sh DESCRIPTION diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index 9c126c9..d9d9fa9 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn link "const char *name1" "const char *name2" .Sh DESCRIPTION diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index a9ab96b..1a97658 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn listen "int s" "int backlog" .Sh DESCRIPTION diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index 4f3f430..988b52b 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft off_t .Fn lseek "int fildes" "off_t offset" "int whence" .Sh DESCRIPTION diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 5ddfa96..71b464c 100644 --- a/lib/libc/sys/madvise.2 +++ b/lib/libc/sys/madvise.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn madvise "void *addr" "size_t len" "int behav" .Sh DESCRIPTION diff --git a/lib/libc/sys/mincore.2 b/lib/libc/sys/mincore.2 index 1bc309f..d39e752 100644 --- a/lib/libc/sys/mincore.2 +++ b/lib/libc/sys/mincore.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn mincore "const void *addr" "size_t len" "char *vec" .Sh DESCRIPTION diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2 index aadb50c..fd9bbee 100644 --- a/lib/libc/sys/minherit.2 +++ b/lib/libc/sys/minherit.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn minherit "void *addr" "size_t len" "int inherit" .Sh DESCRIPTION diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2 index 25fad1e..cc5cd8c 100644 --- a/lib/libc/sys/mkdir.2 +++ b/lib/libc/sys/mkdir.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/stat.h> +.In sys/types.h +.In sys/stat.h .Ft int .Fn mkdir "const char *path" "mode_t mode" .Sh DESCRIPTION diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2 index c711690..b85c021 100644 --- a/lib/libc/sys/mkfifo.2 +++ b/lib/libc/sys/mkfifo.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/stat.h> +.In sys/types.h +.In sys/stat.h .Ft int .Fn mkfifo "const char *path" "mode_t mode" .Sh DESCRIPTION diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index a81c1aa..36f1f5b8 100644 --- a/lib/libc/sys/mknod.2 +++ b/lib/libc/sys/mknod.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn mknod "const char *path" "mode_t mode" "dev_t dev" .Sh DESCRIPTION diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index fd92aa2..8379d81 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn mlock "const void *addr" "size_t len" .Ft int diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 7e0affc..29a0975 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft void * .Fn mmap "void *addr" "size_t len" "int prot" "int flags" "int fd" "off_t offset" .Sh DESCRIPTION diff --git a/lib/libc/sys/modfind.2 b/lib/libc/sys/modfind.2 index 401eb60..35fa7c9 100644 --- a/lib/libc/sys/modfind.2 +++ b/lib/libc/sys/modfind.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/module.h> +.In sys/param.h +.In sys/module.h .Ft int .Fn modfind "const char *modname" .Sh DESCRIPTION diff --git a/lib/libc/sys/modnext.2 b/lib/libc/sys/modnext.2 index ed6398e..dc578ad 100644 --- a/lib/libc/sys/modnext.2 +++ b/lib/libc/sys/modnext.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/module.h> +.In sys/param.h +.In sys/module.h .Ft int .Fn modnext "int modid" .Ft int diff --git a/lib/libc/sys/modstat.2 b/lib/libc/sys/modstat.2 index 9cadabd..d19f469 100644 --- a/lib/libc/sys/modstat.2 +++ b/lib/libc/sys/modstat.2 @@ -34,8 +34,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/module.h> +.In sys/param.h +.In sys/module.h .Ft int .Fn modstat "int modid" "struct module_stat *stat" .Sh DESCRIPTION diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index d8f8dec..dc1b45b 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/mount.h .Ft int .Fn mount "const char *type" "const char *dir" "int flags" "void *data" .Ft int diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index fe8df30..369dd59 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn mprotect "const void *addr" "size_t len" "int prot" .Sh DESCRIPTION diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2 index 9adc3ac..29c4613 100644 --- a/lib/libc/sys/msync.2 +++ b/lib/libc/sys/msync.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn msync "void *addr" "size_t len" "int flags" .Sh DESCRIPTION diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index 1644730..33f3724 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn munmap "void *addr" "size_t len" .Sh DESCRIPTION diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index b69ef33..5a39a44 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <time.h> +.In time.h .Ft int .Fn nanosleep "const struct timespec *rqtp" "struct timespec *rmtp" .Sh DESCRIPTION diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index d28edc1..1c24040 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -41,12 +41,12 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/time.h> -.Fd #include <nfs/rpcv2.h> -.Fd #include <nfs/nfs.h> -.Fd #include <unistd.h> +.In sys/param.h +.In sys/mount.h +.In sys/time.h +.In nfs/rpcv2.h +.In nfs/nfs.h +.In unistd.h .Ft int .Fn nfssvc "int flags" "void *argstructp" .Sh DESCRIPTION diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 5e4aeeb..874ce74 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <fcntl.h> +.In fcntl.h .Ft int .Fn open "const char *path" "int flags" "..." .Sh DESCRIPTION diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index 90318c0..f560af9 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft long .Fn pathconf "const char *path" "int name" .Ft long diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2 index 52f0f98..8372978 100644 --- a/lib/libc/sys/pipe.2 +++ b/lib/libc/sys/pipe.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn pipe "int *fildes" .Sh DESCRIPTION diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index d594bbc..04a91df 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -37,8 +37,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <poll.h> +.In sys/types.h +.In poll.h .Ft int .Fn poll "struct pollfd *fds" "unsigned int nfds" "int timeout" .Sh DESCRIPTION diff --git a/lib/libc/sys/profil.2 b/lib/libc/sys/profil.2 index 14b2bd5..7437ef7 100644 --- a/lib/libc/sys/profil.2 +++ b/lib/libc/sys/profil.2 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn profil "char *samples" "size_t size" "vm_offset_t offset" "int scale" .Sh DESCRIPTION diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index a31d146..90ce6ba 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -11,8 +11,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/ptrace.h> +.In sys/types.h +.In sys/ptrace.h .Ft int .Fn ptrace "int request" "pid_t pid" "caddr_t addr" "int data" .Sh DESCRIPTION diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index 9aa5a48..5730dd1 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -44,8 +44,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <ufs/ufs/quota.h> +.In sys/types.h +.In ufs/ufs/quota.h .Ft int .Fn quotactl "const char *path" "int cmd" "int id" "void *addr" .Sh DESCRIPTION diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 9c38809..e4f330a 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -43,9 +43,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/uio.h> -.Fd #include <unistd.h> +.In sys/types.h +.In sys/uio.h +.In unistd.h .Ft ssize_t .Fn read "int d" "void *buf" "size_t nbytes" .Ft ssize_t diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2 index 4708594..fd97e1d 100644 --- a/lib/libc/sys/readlink.2 +++ b/lib/libc/sys/readlink.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn readlink "const char *path" "char *buf" "int bufsiz" .Sh DESCRIPTION diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index 8f247b2..8e3a19a 100644 --- a/lib/libc/sys/reboot.2 +++ b/lib/libc/sys/reboot.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> -.Fd #include <sys/reboot.h> +.In unistd.h +.In sys/reboot.h .Ft int .Fn reboot "int howto" .Sh DESCRIPTION diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 7a49e41..3acd694 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -43,8 +43,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft ssize_t .Fn recv "int s" "void *buf" "size_t len" "int flags" .Ft ssize_t diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 8d5523a..2ef23f7 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <stdio.h> +.In stdio.h .Ft int .Fn rename "const char *from" "const char *to" .Sh DESCRIPTION diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2 index 8b6b01d..687a317 100644 --- a/lib/libc/sys/revoke.2 +++ b/lib/libc/sys/revoke.2 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn revoke "const char *path" .Sh DESCRIPTION diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2 index 80d7f76..a037a6e 100644 --- a/lib/libc/sys/rfork.2 +++ b/lib/libc/sys/rfork.2 @@ -14,7 +14,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn rfork "int flags" .Sh DESCRIPTION diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2 index 373b185..d6e052f 100644 --- a/lib/libc/sys/rmdir.2 +++ b/lib/libc/sys/rmdir.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn rmdir "const char *path" .Sh DESCRIPTION diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index f5175ad..47e0af8 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -38,8 +38,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/rtprio.h> +.In sys/types.h +.In sys/rtprio.h .Ft int .Fn rtprio "int function" "pid_t pid" "struct rtprio *rtp" .Sh DESCRIPTION diff --git a/lib/libc/sys/sched_get_priority_max.2 b/lib/libc/sys/sched_get_priority_max.2 index 0f1c8d8..eba278d 100644 --- a/lib/libc/sys/sched_get_priority_max.2 +++ b/lib/libc/sys/sched_get_priority_max.2 @@ -34,7 +34,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sched.h> +.In sched.h .Ft int .Fn sched_get_priority_max "int policy" .Ft int diff --git a/lib/libc/sys/sched_setparam.2 b/lib/libc/sys/sched_setparam.2 index ac9be76..136e70d 100644 --- a/lib/libc/sys/sched_setparam.2 +++ b/lib/libc/sys/sched_setparam.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sched.h> +.In sched.h .Ft int .Fn sched_setparam "pid_t pid" "const struct sched_param *param" .Ft int diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2 index 556b986..35c8627 100644 --- a/lib/libc/sys/sched_setscheduler.2 +++ b/lib/libc/sys/sched_setscheduler.2 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sched.h> +.In sched.h .Ft int .Fn sched_setscheduler "pid_t pid" "int policy" "const struct sched_param *param" .Ft int diff --git a/lib/libc/sys/sched_yield.2 b/lib/libc/sys/sched_yield.2 index 2d8240c..3457a35 100644 --- a/lib/libc/sys/sched_yield.2 +++ b/lib/libc/sys/sched_yield.2 @@ -32,7 +32,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sched.h> +.In sched.h .Ft int .Fn sched_yield void .Sh DESCRIPTION diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2 index d888bfb..b0affba 100644 --- a/lib/libc/sys/select.2 +++ b/lib/libc/sys/select.2 @@ -41,9 +41,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <unistd.h> +.In sys/types.h +.In sys/time.h +.In unistd.h .Ft int .Fn select "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "struct timeval *timeout" .Fn FD_SET fd &fdset diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 2b3df68..4e3765c 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -34,9 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/sem.h> +.In sys/types.h +.In sys/ipc.h +.In sys/sem.h .Ft int .Fn semctl "int semid" "int semnum" "int cmd" ... .Sh DESCRIPTION diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index b35db9f..b9fad0d 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -34,9 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/sem.h> +.In sys/types.h +.In sys/ipc.h +.In sys/sem.h .Ft int .Fn semget "key_t key" "int nsems" "int flag" .Sh DESCRIPTION diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index 7f18510..ac4e79c 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -34,9 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/sem.h> +.In sys/types.h +.In sys/ipc.h +.In sys/sem.h .Ft int .Fn semop "int semid" "struct sembuf array[]" "unsigned nops" .Sh DESCRIPTION diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index 8ec9476..3ef0694 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -43,8 +43,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft ssize_t .Fn send "int s" "const void *msg" "size_t len" "int flags" .Ft ssize_t diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2 index 24296c2..f073b06 100644 --- a/lib/libc/sys/sendfile.2 +++ b/lib/libc/sys/sendfile.2 @@ -34,9 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <sys/uio.h> +.In sys/types.h +.In sys/socket.h +.In sys/uio.h .Ft int .Fn sendfile "int fd" "int s" "off_t offset" "size_t nbytes" "struct sf_hdtr *hdtr" "off_t *sbytes" "int flags" .Sh DESCRIPTION diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2 index 3ba324d..355298e 100644 --- a/lib/libc/sys/setgroups.2 +++ b/lib/libc/sys/setgroups.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <unistd.h> +.In sys/param.h +.In unistd.h .Ft int .Fn setgroups "int ngroups" "const gid_t *gidset" .Sh DESCRIPTION diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 30667d6..14186ea 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn setpgid "pid_t pid" "pid_t pgrp" .Ft int diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2 index 1965349..d23e48a 100644 --- a/lib/libc/sys/setregid.2 +++ b/lib/libc/sys/setregid.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn setregid "gid_t rgid" "gid_t egid" .Sh DESCRIPTION diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2 index d1a3b28..ad948f0 100644 --- a/lib/libc/sys/setresuid.2 +++ b/lib/libc/sys/setresuid.2 @@ -31,8 +31,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft int .Fn getresgid "gid_t *rgid" "gid_t *egid" "gid_t *sgid" .Ft int diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2 index aa87657..fd5d636 100644 --- a/lib/libc/sys/setreuid.2 +++ b/lib/libc/sys/setreuid.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn setreuid "uid_t ruid" "uid_t euid" .Sh DESCRIPTION diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2 index 0fffc8b..0dc1cef 100644 --- a/lib/libc/sys/setsid.2 +++ b/lib/libc/sys/setsid.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft pid_t .Fn setsid void .Sh DESCRIPTION diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2 index 3403b108..5e959f9 100644 --- a/lib/libc/sys/setuid.2 +++ b/lib/libc/sys/setuid.2 @@ -44,8 +44,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <unistd.h> +.In sys/types.h +.In unistd.h .Ft int .Fn setuid "uid_t uid" .Ft int diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index 35ac103..0619133 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -39,8 +39,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/mman.h> +.In sys/types.h +.In sys/mman.h .Ft int .Fn shm_open "const char *path" "int flags" "mode_t mode" .Ft int diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 63a08bc..429d0c8 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -35,10 +35,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <machine/param.h> -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/shm.h> +.In machine/param.h +.In sys/types.h +.In sys/ipc.h +.In sys/shm.h .Ft void * .Fn shmat "int shmid" "void *addr" "int flag" .Ft int diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index e3ab92c..c321e5b 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -34,10 +34,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <machine/param.h> -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/shm.h> +.In machine/param.h +.In sys/types.h +.In sys/ipc.h +.In sys/shm.h .Ft int .Fn shmctl "int shmid" "int cmd" "struct shmid_ds *buf" .Sh DESCRIPTION diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index b176c53..281cc66 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -34,10 +34,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <machine/param.h> -.Fd #include <sys/types.h> -.Fd #include <sys/ipc.h> -.Fd #include <sys/shm.h> +.In machine/param.h +.In sys/types.h +.In sys/ipc.h +.In sys/shm.h .Ft int .Fn shmget "key_t key" "int size" "int flag" .Sh DESCRIPTION diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index 5cef2e5..ed61ecc 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn shutdown "int s" "int how" .Sh DESCRIPTION diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 1f9f950..187dd01 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Bd -literal struct sigaction { union { diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index e39b893..600e16d 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Bd -literal struct sigaltstack { char *ss_sp; diff --git a/lib/libc/sys/sigpending.2 b/lib/libc/sys/sigpending.2 index 8ab927b..e6635d3 100644 --- a/lib/libc/sys/sigpending.2 +++ b/lib/libc/sys/sigpending.2 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Ft int .Fn sigpending "sigset_t *set" .Sh DESCRIPTION diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2 index a7bf788..62b3e45 100644 --- a/lib/libc/sys/sigprocmask.2 +++ b/lib/libc/sys/sigprocmask.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Ft int .Fn sigprocmask "int how" "const sigset_t *set" "sigset_t *oset" .Sh DESCRIPTION diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2 index cc7ca47..9717345 100644 --- a/lib/libc/sys/sigreturn.2 +++ b/lib/libc/sys/sigreturn.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Pp .Bd -literal struct sigcontext { diff --git a/lib/libc/sys/sigsuspend.2 b/lib/libc/sys/sigsuspend.2 index 280d6d9..1dbfe0b 100644 --- a/lib/libc/sys/sigsuspend.2 +++ b/lib/libc/sys/sigsuspend.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Ft int .Fn sigsuspend "const sigset_t *sigmask" .Sh DESCRIPTION diff --git a/lib/libc/sys/sigwait.2 b/lib/libc/sys/sigwait.2 index fba1f67..76376a6 100644 --- a/lib/libc/sys/sigwait.2 +++ b/lib/libc/sys/sigwait.2 @@ -35,7 +35,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <signal.h> +.In signal.h .Ft int .Fn sigwait "const sigset_t *set" "int *sig" .Sh DESCRIPTION diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index ef2669f..990658f 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn socket "int domain" "int type" "int protocol" .Sh DESCRIPTION diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2 index 875aea0..a1e6fb8 100644 --- a/lib/libc/sys/socketpair.2 +++ b/lib/libc/sys/socketpair.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/socket.h .Ft int .Fn socketpair "int d" "int type" "int protocol" "int *sv" .Sh DESCRIPTION diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index e6936d3..28d77a7 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -43,8 +43,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/stat.h> +.In sys/types.h +.In sys/stat.h .Ft int .Fn stat "const char *path" "struct stat *sb" .Ft int diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index 17e8ebe..a4b7e8a 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -41,8 +41,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/mount.h .Ft int .Fn statfs "const char *path" "struct statfs *buf" .Ft int diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index 16e7e16..a852ba0 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn swapon "const char *special" .Sh DESCRIPTION diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index 175ce9f..1fa0666 100644 --- a/lib/libc/sys/symlink.2 +++ b/lib/libc/sys/symlink.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn symlink "const char *name1" "const char *name2" .Sh DESCRIPTION diff --git a/lib/libc/sys/sync.2 b/lib/libc/sys/sync.2 index d60c0e4..f304cce 100644 --- a/lib/libc/sys/sync.2 +++ b/lib/libc/sys/sync.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft void .Fn sync void .Sh DESCRIPTION diff --git a/lib/libc/sys/sysarch.2 b/lib/libc/sys/sysarch.2 index b18dc0a..5439747 100644 --- a/lib/libc/sys/sysarch.2 +++ b/lib/libc/sys/sysarch.2 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <machine/sysarch.h> +.In machine/sysarch.h .Ft int .Fn sysarch "int number" "void *args" .Sh DESCRIPTION diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2 index ea8d639..5ecbf8b 100644 --- a/lib/libc/sys/syscall.2 +++ b/lib/libc/sys/syscall.2 @@ -42,8 +42,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/syscall.h> -.Fd #include <unistd.h> +.In sys/syscall.h +.In unistd.h .Ft int .Fn syscall "int number" ... .Ft off_t diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index aa6a4b6..6e3a07e 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn truncate "const char *path" "off_t length" .Ft int diff --git a/lib/libc/sys/umask.2 b/lib/libc/sys/umask.2 index 026a983..c747a63 100644 --- a/lib/libc/sys/umask.2 +++ b/lib/libc/sys/umask.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/stat.h> +.In sys/stat.h .Ft mode_t .Fn umask "mode_t numask" .Sh DESCRIPTION diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2 index d1fe935..8263314 100644 --- a/lib/libc/sys/undelete.2 +++ b/lib/libc/sys/undelete.2 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn undelete "const char *path" .Sh DESCRIPTION diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 2b5e3cb..5a10123 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn unlink "const char *path" .Sh DESCRIPTION diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 1b2ef22..5d9691f 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -45,7 +45,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft int .Fn utimes "const char *path" "const struct timeval *times" .Ft int diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2 index 49e36b6..680b67d 100644 --- a/lib/libc/sys/vfork.2 +++ b/lib/libc/sys/vfork.2 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <unistd.h> +.In unistd.h .Ft int .Fn vfork void .Sh DESCRIPTION diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index bbb2c57..74309ab 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -44,12 +44,12 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/wait.h> +.In sys/types.h +.In sys/wait.h .Ft pid_t .Fn wait "int *status" -.Fd #include <sys/time.h> -.Fd #include <sys/resource.h> +.In sys/time.h +.In sys/resource.h .Ft pid_t .Fn waitpid "pid_t wpid" "int *status" "int options" .Ft pid_t diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index 5d4fdc2..77fba35 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -43,9 +43,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/uio.h> -.Fd #include <unistd.h> +.In sys/types.h +.In sys/uio.h +.In unistd.h .Ft ssize_t .Fn write "int d" "const void *buf" "size_t nbytes" .Ft ssize_t |