mdoc(7) police: Use the new .In macro for #include statements.

This commit is contained in:
Ruslan Ermilov 2001-10-01 16:09:29 +00:00
parent f2ac7de925
commit 32eef9aeb1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84306
902 changed files with 1451 additions and 1451 deletions

View File

@ -49,7 +49,7 @@
.Nm dialog_tree .Nm dialog_tree
.Nd provide a simple ncurses-based GUI interface .Nd provide a simple ncurses-based GUI interface
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <dialog.h> .In dialog.h
.Ft "void" .Ft "void"
.Fn draw_shadow "WINDOW *win" "int y" "int x" "int height" "int width" .Fn draw_shadow "WINDOW *win" "int y" "int x" "int height" "int width"
.Ft "void" .Ft "void"

View File

@ -32,9 +32,9 @@
.Nm libalias .Nm libalias
.Nd packet aliasing library for masquerading and network address translation .Nd packet aliasing library for masquerading and network address translation
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <netinet/in.h> .In netinet/in.h
.Fd #include <alias.h> .In alias.h
.Pp .Pp
Function prototypes are given in the main body of the text. Function prototypes are given in the main body of the text.
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fcntl.h> .In fcntl.h
.Ft int .Ft int
.Fn creat "const char *path" "mode_t mode" .Fn creat "const char *path" "mode_t mode"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft long .Ft long
.Fn gethostid void .Fn gethostid void
.Ft void .Ft void

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn killpg "pid_t pgrp" "int sig" .Fn killpg "pid_t pgrp" "int sig"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn setruid "uid_t ruid" .Fn setruid "uid_t ruid"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn sigpause "int sigmask" .Fn sigpause "int sigmask"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn sigsetmask "int mask" .Fn sigsetmask "int mask"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Bd -literal .Bd -literal
struct sigvec { struct sigvec {
void (*sv_handler)(); void (*sv_handler)();

View File

@ -39,8 +39,8 @@
.Nm btree .Nm btree
.Nd "btree database access method" .Nd "btree database access method"
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd "#include <sys/types.h>" .In sys/types.h
.Fd "#include <db.h>" .In db.h
.Sh DESCRIPTION .Sh DESCRIPTION
The routine The routine
.Fn dbopen .Fn dbopen

View File

@ -33,8 +33,8 @@
.Nm dbm_store .Nm dbm_store
.Nd database access functions .Nd database access functions
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fcntl.h> .In fcntl.h
.Fd #include <ndbm.h> .In ndbm.h
.Ft DBM * .Ft DBM *
.Fn dbm_open "const char *base" "int flags" "int mode" .Fn dbm_open "const char *base" "int flags" "int mode"
.Ft void .Ft void

View File

@ -39,9 +39,9 @@
.Nm dbopen .Nm dbopen
.Nd "database access methods" .Nd "database access methods"
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd "#include <sys/types.h>" .In sys/types.h
.Fd "#include <limits.h>" .In limits.h
.Fd "#include <db.h>" .In db.h
.Ft DB * .Ft DB *
.Fn dbopen "const char *file" "int flags" "int mode" "DBTYPE type" "const void *openinfo" .Fn dbopen "const char *file" "int flags" "int mode" "DBTYPE type" "const void *openinfo"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -39,8 +39,8 @@
.Nm hash .Nm hash
.Nd "hash database access method" .Nd "hash database access method"
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd "#include <sys/types.h>" .In sys/types.h
.Fd "#include <db.h>" .In db.h
.Sh DESCRIPTION .Sh DESCRIPTION
The routine The routine
.Fn dbopen .Fn dbopen

View File

@ -39,8 +39,8 @@
.Nm mpool .Nm mpool
.Nd "shared memory buffer pool" .Nd "shared memory buffer pool"
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd "#include <db.h>" .In db.h
.Fd "#include <mpool.h>" .In mpool.h
.Ft MPOOL * .Ft MPOOL *
.Fn mpool_open "void *key" "int fd" "pgno_t pagesize" "pgno_t maxcache" .Fn mpool_open "void *key" "int fd" "pgno_t pagesize" "pgno_t maxcache"
.Ft void .Ft void

View File

@ -39,8 +39,8 @@
.Nm recno .Nm recno
.Nd "record number database access method" .Nd "record number database access method"
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd "#include <sys/types.h>" .In sys/types.h
.Fd "#include <db.h>" .In db.h
.Sh DESCRIPTION .Sh DESCRIPTION
The routine The routine
.Fn dbopen .Fn dbopen

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft unsigned int .Ft unsigned int
.Fn alarm "unsigned int seconds" .Fn alarm "unsigned int seconds"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft u_int32_t .Ft u_int32_t
.Fn arc4random "void" .Fn arc4random "void"
.Ft void .Ft void

View File

@ -34,7 +34,7 @@
.Nm basename .Nm basename
.Nd extract the base portion of a pathname .Nd extract the base portion of a pathname
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <libgen.h> .In libgen.h
.Ft char * .Ft char *
.Fn basename "const char *path" .Fn basename "const char *path"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <time.h> .In time.h
.Ft clock_t .Ft clock_t
.Fn clock void .Fn clock void
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft size_t .Ft size_t
.Fn confstr "int name" "char *buf" "size_t len" .Fn confstr "int name" "char *buf" "size_t len"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdio.h> .In stdio.h
.Ft char * .Ft char *
.Fn ctermid "char *buf" .Fn ctermid "char *buf"
.Ft char * .Ft char *

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft int .Ft int
.Fn daemon "int nochdir" "int noclose" .Fn daemon "int nochdir" "int noclose"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/stat.h> .In sys/stat.h
.Fd #include <stdlib.h> .In stdlib.h
.Ft char * .Ft char *
.Fn devname "dev_t dev" "mode_t type" .Fn devname "dev_t dev" "mode_t type"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -48,8 +48,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <dirent.h> .In dirent.h
.Ft DIR * .Ft DIR *
.Fn opendir "const char *filename" .Fn opendir "const char *filename"
.Ft struct dirent * .Ft struct dirent *

View File

@ -34,7 +34,7 @@
.Nm dirname .Nm dirname
.Nd extract the directory portition of a pathname .Nd extract the directory portition of a pathname
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <libgen.h> .In libgen.h
.Ft char * .Ft char *
.Fn dirname "const char *path" .Fn dirname "const char *path"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -34,7 +34,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <dlfcn.h> .In dlfcn.h
.Ft int .Ft int
.Fn dladdr "const void *addr" "Dl_info *info" .Fn dladdr "const void *addr" "Dl_info *info"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -34,7 +34,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <dlfcn.h> .In dlfcn.h
.Ft void .Ft void
.Fn dllockinit "void *context" "void *(*lock_create)(void *context)" "void (*rlock_acquire)(void *lock)" "void (*wlock_acquire)(void *lock)" "void (*lock_release)(void *lock)" "void (*lock_destroy)(void *lock)" "void (*context_destroy)(void *context)" .Fn dllockinit "void *context" "void *(*lock_create)(void *context)" "void (*rlock_acquire)(void *lock)" "void (*wlock_acquire)(void *lock)" "void (*lock_release)(void *lock)" "void (*lock_destroy)(void *lock)" "void (*context_destroy)(void *context)"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <dlfcn.h> .In dlfcn.h
.Ft void * .Ft void *
.Fn dlopen "const char *path" "int mode" .Fn dlopen "const char *path" "int mode"
.Ft void * .Ft void *

View File

@ -54,7 +54,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <err.h> .In err.h
.Ft void .Ft void
.Fn err "int eval" "const char *fmt" "..." .Fn err "int eval" "const char *fmt" "..."
.Ft void .Ft void
@ -71,7 +71,7 @@
.Fn warnc "int code" "const char *fmt" "..." .Fn warnc "int code" "const char *fmt" "..."
.Ft void .Ft void
.Fn warnx "const char *fmt" "..." .Fn warnx "const char *fmt" "..."
.Fd #include <stdarg.h> .In stdarg.h
.Ft void .Ft void
.Fn verr "int eval" "const char *fmt" "va_list args" .Fn verr "int eval" "const char *fmt" "va_list args"
.Ft void .Ft void

View File

@ -46,7 +46,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Vt extern char **environ ; .Vt extern char **environ ;
.Ft int .Ft int
.Fn execl "const char *path" "const char *arg" ... .Fn execl "const char *path" "const char *arg" ...

View File

@ -43,7 +43,7 @@ format string
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdio.h> .In stdio.h
.Ft const char * .Ft const char *
.Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default" .Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -43,7 +43,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fnmatch.h> .In fnmatch.h
.Ft int .Ft int
.Fn fnmatch "const char *pattern" "const char *string" "int flags" .Fn fnmatch "const char *pattern" "const char *string" "int flags"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <math.h> .In math.h
.Ft double .Ft double
.Fn frexp "double value" "int *exp" .Fn frexp "double value" "int *exp"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -33,8 +33,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/ipc.h> .In sys/ipc.h
.Ft key_t .Ft key_t
.Fn ftok "const char *path" "int id" .Fn ftok "const char *path" "int id"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <paths.h> .In paths.h
.Ft const char * .Ft const char *
.Fn getbootfile void .Fn getbootfile void
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft char * .Ft char *
.Fn getbsize "int *headerlenp" "long *blocksizep" .Fn getbsize "int *headerlenp" "long *blocksizep"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -53,7 +53,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft int .Ft int
.Fn cgetent "char **buf" "char **db_array" "char *name" .Fn cgetent "char **buf" "char **db_array" "char *name"
.Ft int .Ft int

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft char * .Ft char *
.Fn getcwd "char *buf" "size_t size" .Fn getcwd "char *buf" "size_t size"
.Ft char * .Ft char *

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/disklabel.h> .In sys/disklabel.h
.Ft struct disklabel * .Ft struct disklabel *
.Fn getdiskbyname "const char *name" .Fn getdiskbyname "const char *name"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn getdomainname "char *name" "int namelen" .Fn getdomainname "char *name" "int namelen"
.Ft int .Ft int

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fstab.h> .In fstab.h
.Ft struct fstab * .Ft struct fstab *
.Fn getfsent void .Fn getfsent void
.Ft struct fstab * .Ft struct fstab *

View File

@ -47,8 +47,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <grp.h> .In grp.h
.Ft struct group * .Ft struct group *
.Fn getgrent void .Fn getgrent void
.Ft struct group * .Ft struct group *

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn getgrouplist "const char *name" "int basegid" "int *groups" "int *ngroups" .Fn getgrouplist "const char *name" "int basegid" "int *groups" "int *ngroups"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn gethostname "char *name" "int namelen" .Fn gethostname "char *name" "int namelen"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft int .Ft int
.Fn getloadavg "double loadavg[]" "int nelem" .Fn getloadavg "double loadavg[]" "int nelem"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,9 +41,9 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/param.h> .In sys/param.h
.Fd #include <sys/ucred.h> .In sys/ucred.h
.Fd #include <sys/mount.h> .In sys/mount.h
.Ft int .Ft int
.Fn getmntinfo "struct statfs **mntbufp" "int flags" .Fn getmntinfo "struct statfs **mntbufp" "int flags"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -44,7 +44,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <netdb.h> .In netdb.h
.Ft int .Ft int
.Fn getnetgrent "char **host" "char **user" "char **domain" .Fn getnetgrent "char **host" "char **user" "char **domain"
.Ft int .Ft int

View File

@ -33,7 +33,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <objformat.h> .In objformat.h
.Ft int .Ft int
.Fn getobjformat "char *buf" "size_t bufsize" "int *argcp" "char **argv" .Fn getobjformat "char *buf" "size_t bufsize" "int *argcp" "char **argv"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn getpagesize void .Fn getpagesize void
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <pwd.h> .In pwd.h
.Fd #include <unistd.h> .In unistd.h
.Ft char * .Ft char *
.Fn getpass "const char *prompt" .Fn getpass "const char *prompt"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft const char * .Ft const char *
.Fn getprogname "void" .Fn getprogname "void"
.Ft void .Ft void

View File

@ -46,8 +46,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <pwd.h> .In pwd.h
.Ft struct passwd * .Ft struct passwd *
.Fn getpwent void .Fn getpwent void
.Ft struct passwd * .Ft struct passwd *

View File

@ -47,7 +47,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <ttyent.h> .In ttyent.h
.Ft struct ttyent * .Ft struct ttyent *
.Fn getttyent void .Fn getttyent void
.Ft struct ttyent * .Ft struct ttyent *

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft char * .Ft char *
.Fn getusershell void .Fn getusershell void
.Ft void .Ft void

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/param.h> .In sys/param.h
.Fd #include <sys/mount.h> .In sys/mount.h
.Ft int .Ft int
.Fn getvfsbyname "const char *name" "struct vfsconf *vfc" .Fn getvfsbyname "const char *name" "struct vfsconf *vfc"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -15,8 +15,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/param.h> .In sys/param.h
.Fd #include <sys/mount.h> .In sys/mount.h
.Ft struct ovfsconf * .Ft struct ovfsconf *
.Fn getvfsent "void" .Fn getvfsent "void"
.Ft void .Ft void

View File

@ -44,7 +44,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <glob.h> .In glob.h
.Ft int .Ft int
.Fn glob "const char *pattern" "int flags" "int (*errfunc)(const char *, int)" "glob_t *pglob" .Fn glob "const char *pattern" "int flags" "int (*errfunc)(const char *, int)" "glob_t *pglob"
.Ft void .Ft void

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn initgroups "const char *name" "int basegid" .Fn initgroups "const char *name" "int basegid"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <math.h> .In math.h
.Ft double .Ft double
.Fn ldexp "double x" "int exp" .Fn ldexp "double x" "int exp"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn lockf "int filedes" "int function" "off_t size" .Fn lockf "int filedes" "int function" "off_t size"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <math.h> .In math.h
.Ft double .Ft double
.Fn modf "double value" "double *iptr" .Fn modf "double value" "double *iptr"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -40,9 +40,9 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/ipc.h> .In sys/ipc.h
.Fd #include <sys/msg.h> .In sys/msg.h
.Ft int .Ft int
.Fn msgctl "int msqid" "int cmd" "struct msqid_ds *buf" .Fn msgctl "int msqid" "int cmd" "struct msqid_ds *buf"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -40,9 +40,9 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/ipc.h> .In sys/ipc.h
.Fd #include <sys/msg.h> .In sys/msg.h
.Ft int .Ft int
.Fn msgget "key_t key" "int msgflg" .Fn msgget "key_t key" "int msgflg"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -40,9 +40,9 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/ipc.h> .In sys/ipc.h
.Fd #include <sys/msg.h> .In sys/msg.h
.Ft int .Ft int
.Fn msgrcv "int msqid" "void *msgp" "size_t msgsz" "long msgtyp" "int msgflg" .Fn msgrcv "int msqid" "void *msgp" "size_t msgsz" "long msgtyp" "int msgflg"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -40,9 +40,9 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/ipc.h> .In sys/ipc.h
.Fd #include <sys/msg.h> .In sys/msg.h
.Ft int .Ft int
.Fn msgsnd "int msqid" "void *msgp" "size_t msgsz" "int msgflg" .Fn msgsnd "int msqid" "void *msgp" "size_t msgsz" "int msgflg"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn nice "int incr" .Fn nice "int incr"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <nlist.h> .In nlist.h
.Ft int .Ft int
.Fn nlist "const char *filename" "struct nlist *nl" .Fn nlist "const char *filename" "struct nlist *nl"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn pause void .Fn pause void
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -43,7 +43,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdio.h> .In stdio.h
.Ft FILE * .Ft FILE *
.Fn popen "const char *command" "const char *type" .Fn popen "const char *command" "const char *type"
.Ft int .Ft int

View File

@ -44,12 +44,12 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft void .Ft void
.Fn psignal "unsigned sig" "const char *s" .Fn psignal "unsigned sig" "const char *s"
.Vt extern const char * const sys_siglist[] ; .Vt extern const char * const sys_siglist[] ;
.Vt extern const char * const sys_signame[] ; .Vt extern const char * const sys_signame[] ;
.Fd #include <string.h> .In string.h
.Ft "char *" .Ft "char *"
.Fn strsignal "int sig" .Fn strsignal "int sig"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft char * .Ft char *
.Fn user_from_uid "unsigned long uid" "int nouser" .Fn user_from_uid "unsigned long uid" "int nouser"
.Ft char * .Ft char *

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn raise "int sig" .Fn raise "int sig"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -29,7 +29,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stdlib.h> .In stdlib.h
.Ft double .Ft double
.Fn drand48 void .Fn drand48 void
.Ft double .Ft double

View File

@ -34,7 +34,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg" .Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,8 +42,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <dirent.h> .In dirent.h
.Ft int .Ft int
.Fn scandir "const char *dirname" "struct dirent ***namelist" "int \\*(lp*select\\*(rp\\*(lpstruct dirent *\\*(rp" "int \\*(lp*compar\\*(rp\\*(lpconst void *, const void *\\*(rp" .Fn scandir "const char *dirname" "struct dirent ***namelist" "int \\*(lp*select\\*(rp\\*(lpstruct dirent *\\*(rp" "int \\*(lp*compar\\*(rp\\*(lpconst void *, const void *\\*(rp"
.Ft int .Ft int

View File

@ -35,7 +35,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft int .Ft int
.Fn sem_destroy "sem_t *sem" .Fn sem_destroy "sem_t *sem"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -35,7 +35,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft int .Ft int
.Fn sem_getvalue "sem_t *sem" "int *sval" .Fn sem_getvalue "sem_t *sem" "int *sval"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -35,7 +35,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft int .Ft int
.Fn sem_init "sem_t *sem" "int pshared" "unsigned int value" .Fn sem_init "sem_t *sem" "int pshared" "unsigned int value"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -37,7 +37,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft sem_t * .Ft sem_t *
.Fn sem_open "const char *name" "int oflag" "..." .Fn sem_open "const char *name" "int oflag" "..."
.Ft int .Ft int

View File

@ -35,7 +35,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft int .Ft int
.Fn sem_post "sem_t *sem" .Fn sem_post "sem_t *sem"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -36,7 +36,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc_r .Lb libc_r
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <semaphore.h> .In semaphore.h
.Ft int .Ft int
.Fn sem_wait "sem_t *sem" .Fn sem_wait "sem_t *sem"
.Ft int .Ft int

View File

@ -51,7 +51,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <setjmp.h> .In setjmp.h
.Ft int .Ft int
.Fn sigsetjmp "sigjmp_buf env" "int savemask" .Fn sigsetjmp "sigjmp_buf env" "int savemask"
.Ft void .Ft void

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft mode_t .Ft mode_t
.Fn getmode "const void *set" "mode_t mode" .Fn getmode "const void *set" "mode_t mode"
.Ft void * .Ft void *

View File

@ -27,8 +27,8 @@
.Nm setproctitle .Nm setproctitle
.Nd set process title .Nd set process title
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <unistd.h> .In unistd.h
.Ft void .Ft void
.Fn setproctitle "const char *fmt" "..." .Fn setproctitle "const char *fmt" "..."
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -39,8 +39,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/mman.h> .In sys/mman.h
.Ft int .Ft int
.Fn shm_open "const char *path" "int flags" "mode_t mode" .Fn shm_open "const char *path" "int flags" "mode_t mode"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn siginterrupt "int sig" "int flag" .Fn siginterrupt "int sig" "int flag"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.\" The following is Quite Ugly, but syntactically correct. Don't try to .\" The following is Quite Ugly, but syntactically correct. Don't try to
.\" fix it. .\" fix it.
.Ft void \*(lp* .Ft void \*(lp*

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <signal.h> .In signal.h
.Ft int .Ft int
.Fn sigemptyset "sigset_t *set" .Fn sigemptyset "sigset_t *set"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft unsigned int .Ft unsigned int
.Fn sleep "unsigned int seconds" .Fn sleep "unsigned int seconds"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -48,7 +48,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <stringlist.h> .In stringlist.h
.Ft StringList * .Ft StringList *
.Fn sl_init .Fn sl_init
.Ft void .Ft void

View File

@ -42,7 +42,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft char * .Ft char *
.Fn fflagstostr "u_long flags" .Fn fflagstostr "u_long flags"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <unistd.h> .In unistd.h
.Ft long .Ft long
.Fn sysconf "int name" .Fn sysconf "int name"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -43,8 +43,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <sys/sysctl.h> .In sys/sysctl.h
.Ft int .Ft int
.Fn sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" .Fn sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen"
.Ft int .Ft int

View File

@ -45,8 +45,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <syslog.h> .In syslog.h
.Fd #include <stdarg.h> .In stdarg.h
.Ft void .Ft void
.Fn syslog "int priority" "const char *message" "..." .Fn syslog "int priority" "const char *message" "..."
.Ft void .Ft void

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <unistd.h> .In unistd.h
.Ft pid_t .Ft pid_t
.Fn tcgetpgrp "int fd" .Fn tcgetpgrp "int fd"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -44,7 +44,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <termios.h> .In termios.h
.Ft int .Ft int
.Fn tcdrain "int fd" .Fn tcdrain "int fd"
.Ft int .Ft int

View File

@ -48,7 +48,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <termios.h> .In termios.h
.Ft speed_t .Ft speed_t
.Fn cfgetispeed "const struct termios *t" .Fn cfgetispeed "const struct termios *t"
.Ft int .Ft int

View File

@ -41,8 +41,8 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .In sys/types.h
.Fd #include <unistd.h> .In unistd.h
.Ft int .Ft int
.Fn tcsetpgrp "int fd" "pid_t pgrp_id" .Fn tcsetpgrp "int fd" "pid_t pgrp_id"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -45,7 +45,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <time.h> .In time.h
.Ft time_t .Ft time_t
.Fn time "time_t *tloc" .Fn time "time_t *tloc"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/times.h> .In sys/times.h
.Ft clock_t .Ft clock_t
.Fn times "struct tms *tp" .Fn times "struct tms *tp"
.Sh DESCRIPTION .Sh DESCRIPTION

Some files were not shown because too many files have changed in this diff Show More