mdoc(7) police: Use the new .In macro for #include statements.
This commit is contained in:
parent
7f4c98c7f1
commit
727c2b4b9e
@ -49,7 +49,7 @@
|
||||
.Nm dialog_tree
|
||||
.Nd provide a simple ncurses-based GUI interface
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <dialog.h>
|
||||
.In dialog.h
|
||||
.Ft "void"
|
||||
.Fn draw_shadow "WINDOW *win" "int y" "int x" "int height" "int width"
|
||||
.Ft "void"
|
||||
|
@ -32,9 +32,9 @@
|
||||
.Nm libalias
|
||||
.Nd packet aliasing library for masquerading and network address translation
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <netinet/in.h>
|
||||
.Fd #include <alias.h>
|
||||
.In sys/types.h
|
||||
.In netinet/in.h
|
||||
.In alias.h
|
||||
.Pp
|
||||
Function prototypes are given in the main body of the text.
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <fcntl.h>
|
||||
.In fcntl.h
|
||||
.Ft int
|
||||
.Fn creat "const char *path" "mode_t mode"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft long
|
||||
.Fn gethostid void
|
||||
.Ft void
|
||||
|
@ -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 killpg "pid_t pgrp" "int sig"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn setruid "uid_t ruid"
|
||||
.Ft int
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft int
|
||||
.Fn sigpause "int sigmask"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft int
|
||||
.Fn sigsetmask "int mask"
|
||||
.Ft int
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Bd -literal
|
||||
struct sigvec {
|
||||
void (*sv_handler)();
|
||||
|
@ -39,8 +39,8 @@
|
||||
.Nm btree
|
||||
.Nd "btree database access method"
|
||||
.Sh SYNOPSIS
|
||||
.Fd "#include <sys/types.h>"
|
||||
.Fd "#include <db.h>"
|
||||
.In sys/types.h
|
||||
.In db.h
|
||||
.Sh DESCRIPTION
|
||||
The routine
|
||||
.Fn dbopen
|
||||
|
@ -33,8 +33,8 @@
|
||||
.Nm dbm_store
|
||||
.Nd database access functions
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <fcntl.h>
|
||||
.Fd #include <ndbm.h>
|
||||
.In fcntl.h
|
||||
.In ndbm.h
|
||||
.Ft DBM *
|
||||
.Fn dbm_open "const char *base" "int flags" "int mode"
|
||||
.Ft void
|
||||
|
@ -39,9 +39,9 @@
|
||||
.Nm dbopen
|
||||
.Nd "database access methods"
|
||||
.Sh SYNOPSIS
|
||||
.Fd "#include <sys/types.h>"
|
||||
.Fd "#include <limits.h>"
|
||||
.Fd "#include <db.h>"
|
||||
.In sys/types.h
|
||||
.In limits.h
|
||||
.In db.h
|
||||
.Ft DB *
|
||||
.Fn dbopen "const char *file" "int flags" "int mode" "DBTYPE type" "const void *openinfo"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -39,8 +39,8 @@
|
||||
.Nm hash
|
||||
.Nd "hash database access method"
|
||||
.Sh SYNOPSIS
|
||||
.Fd "#include <sys/types.h>"
|
||||
.Fd "#include <db.h>"
|
||||
.In sys/types.h
|
||||
.In db.h
|
||||
.Sh DESCRIPTION
|
||||
The routine
|
||||
.Fn dbopen
|
||||
|
@ -39,8 +39,8 @@
|
||||
.Nm mpool
|
||||
.Nd "shared memory buffer pool"
|
||||
.Sh SYNOPSIS
|
||||
.Fd "#include <db.h>"
|
||||
.Fd "#include <mpool.h>"
|
||||
.In db.h
|
||||
.In mpool.h
|
||||
.Ft MPOOL *
|
||||
.Fn mpool_open "void *key" "int fd" "pgno_t pagesize" "pgno_t maxcache"
|
||||
.Ft void
|
||||
|
@ -39,8 +39,8 @@
|
||||
.Nm recno
|
||||
.Nd "record number database access method"
|
||||
.Sh SYNOPSIS
|
||||
.Fd "#include <sys/types.h>"
|
||||
.Fd "#include <db.h>"
|
||||
.In sys/types.h
|
||||
.In db.h
|
||||
.Sh DESCRIPTION
|
||||
The routine
|
||||
.Fn dbopen
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft unsigned int
|
||||
.Fn alarm "unsigned int seconds"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft u_int32_t
|
||||
.Fn arc4random "void"
|
||||
.Ft void
|
||||
|
@ -34,7 +34,7 @@
|
||||
.Nm basename
|
||||
.Nd extract the base portion of a pathname
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <libgen.h>
|
||||
.In libgen.h
|
||||
.Ft char *
|
||||
.Fn basename "const char *path"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <time.h>
|
||||
.In time.h
|
||||
.Ft clock_t
|
||||
.Fn clock void
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft size_t
|
||||
.Fn confstr "int name" "char *buf" "size_t len"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.In stdio.h
|
||||
.Ft char *
|
||||
.Fn ctermid "char *buf"
|
||||
.Ft char *
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft int
|
||||
.Fn daemon "int nochdir" "int noclose"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,8 +41,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/stat.h>
|
||||
.Fd #include <stdlib.h>
|
||||
.In sys/stat.h
|
||||
.In stdlib.h
|
||||
.Ft char *
|
||||
.Fn devname "dev_t dev" "mode_t type"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -48,8 +48,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <dirent.h>
|
||||
.In sys/types.h
|
||||
.In dirent.h
|
||||
.Ft DIR *
|
||||
.Fn opendir "const char *filename"
|
||||
.Ft struct dirent *
|
||||
|
@ -34,7 +34,7 @@
|
||||
.Nm dirname
|
||||
.Nd extract the directory portition of a pathname
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <libgen.h>
|
||||
.In libgen.h
|
||||
.Ft char *
|
||||
.Fn dirname "const char *path"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -34,7 +34,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <dlfcn.h>
|
||||
.In dlfcn.h
|
||||
.Ft int
|
||||
.Fn dladdr "const void *addr" "Dl_info *info"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -34,7 +34,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <dlfcn.h>
|
||||
.In dlfcn.h
|
||||
.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)"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <dlfcn.h>
|
||||
.In dlfcn.h
|
||||
.Ft void *
|
||||
.Fn dlopen "const char *path" "int mode"
|
||||
.Ft void *
|
||||
|
@ -54,7 +54,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <err.h>
|
||||
.In err.h
|
||||
.Ft void
|
||||
.Fn err "int eval" "const char *fmt" "..."
|
||||
.Ft void
|
||||
@ -71,7 +71,7 @@
|
||||
.Fn warnc "int code" "const char *fmt" "..."
|
||||
.Ft void
|
||||
.Fn warnx "const char *fmt" "..."
|
||||
.Fd #include <stdarg.h>
|
||||
.In stdarg.h
|
||||
.Ft void
|
||||
.Fn verr "int eval" "const char *fmt" "va_list args"
|
||||
.Ft void
|
||||
|
@ -46,7 +46,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Vt extern char **environ ;
|
||||
.Ft int
|
||||
.Fn execl "const char *path" "const char *arg" ...
|
||||
|
@ -43,7 +43,7 @@ format string
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.In stdio.h
|
||||
.Ft const char *
|
||||
.Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -43,7 +43,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <fnmatch.h>
|
||||
.In fnmatch.h
|
||||
.Ft int
|
||||
.Fn fnmatch "const char *pattern" "const char *string" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <math.h>
|
||||
.In math.h
|
||||
.Ft double
|
||||
.Fn frexp "double value" "int *exp"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -33,8 +33,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.In sys/types.h
|
||||
.In sys/ipc.h
|
||||
.Ft key_t
|
||||
.Fn ftok "const char *path" "int id"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <paths.h>
|
||||
.In paths.h
|
||||
.Ft const char *
|
||||
.Fn getbootfile void
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft char *
|
||||
.Fn getbsize "int *headerlenp" "long *blocksizep"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -53,7 +53,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft int
|
||||
.Fn cgetent "char **buf" "char **db_array" "char *name"
|
||||
.Ft int
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft char *
|
||||
.Fn getcwd "char *buf" "size_t size"
|
||||
.Ft char *
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/disklabel.h>
|
||||
.In sys/disklabel.h
|
||||
.Ft struct disklabel *
|
||||
.Fn getdiskbyname "const char *name"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn getdomainname "char *name" "int namelen"
|
||||
.Ft int
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <fstab.h>
|
||||
.In fstab.h
|
||||
.Ft struct fstab *
|
||||
.Fn getfsent void
|
||||
.Ft struct fstab *
|
||||
|
@ -47,8 +47,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <grp.h>
|
||||
.In sys/types.h
|
||||
.In grp.h
|
||||
.Ft struct group *
|
||||
.Fn getgrent void
|
||||
.Ft struct group *
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn getgrouplist "const char *name" "int basegid" "int *groups" "int *ngroups"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn gethostname "char *name" "int namelen"
|
||||
.Ft int
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft int
|
||||
.Fn getloadavg "double loadavg[]" "int nelem"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -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 getmntinfo "struct statfs **mntbufp" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -44,7 +44,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <netdb.h>
|
||||
.In netdb.h
|
||||
.Ft int
|
||||
.Fn getnetgrent "char **host" "char **user" "char **domain"
|
||||
.Ft int
|
||||
|
@ -33,7 +33,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <objformat.h>
|
||||
.In objformat.h
|
||||
.Ft int
|
||||
.Fn getobjformat "char *buf" "size_t bufsize" "int *argcp" "char **argv"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn getpagesize void
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,8 +41,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pwd.h>
|
||||
.Fd #include <unistd.h>
|
||||
.In pwd.h
|
||||
.In unistd.h
|
||||
.Ft char *
|
||||
.Fn getpass "const char *prompt"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft const char *
|
||||
.Fn getprogname "void"
|
||||
.Ft void
|
||||
|
@ -46,8 +46,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <pwd.h>
|
||||
.In sys/types.h
|
||||
.In pwd.h
|
||||
.Ft struct passwd *
|
||||
.Fn getpwent void
|
||||
.Ft struct passwd *
|
||||
|
@ -47,7 +47,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <ttyent.h>
|
||||
.In ttyent.h
|
||||
.Ft struct ttyent *
|
||||
.Fn getttyent void
|
||||
.Ft struct ttyent *
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft char *
|
||||
.Fn getusershell void
|
||||
.Ft void
|
||||
|
@ -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 getvfsbyname "const char *name" "struct vfsconf *vfc"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -15,8 +15,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 struct ovfsconf *
|
||||
.Fn getvfsent "void"
|
||||
.Ft void
|
||||
|
@ -44,7 +44,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <glob.h>
|
||||
.In glob.h
|
||||
.Ft int
|
||||
.Fn glob "const char *pattern" "int flags" "int (*errfunc)(const char *, int)" "glob_t *pglob"
|
||||
.Ft void
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn initgroups "const char *name" "int basegid"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <math.h>
|
||||
.In math.h
|
||||
.Ft double
|
||||
.Fn ldexp "double x" "int exp"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn lockf "int filedes" "int function" "off_t size"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <math.h>
|
||||
.In math.h
|
||||
.Ft double
|
||||
.Fn modf "double value" "double *iptr"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -40,9 +40,9 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.In sys/types.h
|
||||
.In sys/ipc.h
|
||||
.In sys/msg.h
|
||||
.Ft int
|
||||
.Fn msgctl "int msqid" "int cmd" "struct msqid_ds *buf"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -40,9 +40,9 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.In sys/types.h
|
||||
.In sys/ipc.h
|
||||
.In sys/msg.h
|
||||
.Ft int
|
||||
.Fn msgget "key_t key" "int msgflg"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -40,9 +40,9 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.In sys/types.h
|
||||
.In sys/ipc.h
|
||||
.In sys/msg.h
|
||||
.Ft int
|
||||
.Fn msgrcv "int msqid" "void *msgp" "size_t msgsz" "long msgtyp" "int msgflg"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -40,9 +40,9 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.In sys/types.h
|
||||
.In sys/ipc.h
|
||||
.In sys/msg.h
|
||||
.Ft int
|
||||
.Fn msgsnd "int msqid" "void *msgp" "size_t msgsz" "int msgflg"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn nice "int incr"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <nlist.h>
|
||||
.In nlist.h
|
||||
.Ft int
|
||||
.Fn nlist "const char *filename" "struct nlist *nl"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn pause void
|
||||
.Sh DESCRIPTION
|
||||
|
@ -43,7 +43,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.In stdio.h
|
||||
.Ft FILE *
|
||||
.Fn popen "const char *command" "const char *type"
|
||||
.Ft int
|
||||
|
@ -44,12 +44,12 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft void
|
||||
.Fn psignal "unsigned sig" "const char *s"
|
||||
.Vt extern const char * const sys_siglist[] ;
|
||||
.Vt extern const char * const sys_signame[] ;
|
||||
.Fd #include <string.h>
|
||||
.In string.h
|
||||
.Ft "char *"
|
||||
.Fn strsignal "int sig"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft char *
|
||||
.Fn user_from_uid "unsigned long uid" "int nouser"
|
||||
.Ft char *
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft int
|
||||
.Fn raise "int sig"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -29,7 +29,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdlib.h>
|
||||
.In stdlib.h
|
||||
.Ft double
|
||||
.Fn drand48 void
|
||||
.Ft double
|
||||
|
@ -34,7 +34,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft int
|
||||
.Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -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 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
|
||||
|
@ -35,7 +35,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft int
|
||||
.Fn sem_destroy "sem_t *sem"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -35,7 +35,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft int
|
||||
.Fn sem_getvalue "sem_t *sem" "int *sval"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -35,7 +35,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft int
|
||||
.Fn sem_init "sem_t *sem" "int pshared" "unsigned int value"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -37,7 +37,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft sem_t *
|
||||
.Fn sem_open "const char *name" "int oflag" "..."
|
||||
.Ft int
|
||||
|
@ -35,7 +35,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft int
|
||||
.Fn sem_post "sem_t *sem"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -36,7 +36,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.In semaphore.h
|
||||
.Ft int
|
||||
.Fn sem_wait "sem_t *sem"
|
||||
.Ft int
|
||||
|
@ -51,7 +51,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <setjmp.h>
|
||||
.In setjmp.h
|
||||
.Ft int
|
||||
.Fn sigsetjmp "sigjmp_buf env" "int savemask"
|
||||
.Ft void
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft mode_t
|
||||
.Fn getmode "const void *set" "mode_t mode"
|
||||
.Ft void *
|
||||
|
@ -27,8 +27,8 @@
|
||||
.Nm setproctitle
|
||||
.Nd set process title
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <unistd.h>
|
||||
.In sys/types.h
|
||||
.In unistd.h
|
||||
.Ft void
|
||||
.Fn setproctitle "const char *fmt" "..."
|
||||
.Sh DESCRIPTION
|
||||
|
@ -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
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft int
|
||||
.Fn siginterrupt "int sig" "int flag"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.\" The following is Quite Ugly, but syntactically correct. Don't try to
|
||||
.\" fix it.
|
||||
.Ft void \*(lp*
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.In signal.h
|
||||
.Ft int
|
||||
.Fn sigemptyset "sigset_t *set"
|
||||
.Ft int
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft unsigned int
|
||||
.Fn sleep "unsigned int seconds"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -48,7 +48,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stringlist.h>
|
||||
.In stringlist.h
|
||||
.Ft StringList *
|
||||
.Fn sl_init
|
||||
.Ft void
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft char *
|
||||
.Fn fflagstostr "u_long flags"
|
||||
.Ft int
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.In unistd.h
|
||||
.Ft long
|
||||
.Fn sysconf "int name"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -43,8 +43,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/sysctl.h>
|
||||
.In sys/types.h
|
||||
.In sys/sysctl.h
|
||||
.Ft int
|
||||
.Fn sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen"
|
||||
.Ft int
|
||||
|
@ -45,8 +45,8 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <syslog.h>
|
||||
.Fd #include <stdarg.h>
|
||||
.In syslog.h
|
||||
.In stdarg.h
|
||||
.Ft void
|
||||
.Fn syslog "int priority" "const char *message" "..."
|
||||
.Ft void
|
||||
|
@ -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 tcgetpgrp "int fd"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -44,7 +44,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <termios.h>
|
||||
.In termios.h
|
||||
.Ft int
|
||||
.Fn tcdrain "int fd"
|
||||
.Ft int
|
||||
|
@ -48,7 +48,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <termios.h>
|
||||
.In termios.h
|
||||
.Ft speed_t
|
||||
.Fn cfgetispeed "const struct termios *t"
|
||||
.Ft int
|
||||
|
@ -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 tcsetpgrp "int fd" "pid_t pgrp_id"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <time.h>
|
||||
.In time.h
|
||||
.Ft time_t
|
||||
.Fn time "time_t *tloc"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -41,7 +41,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/times.h>
|
||||
.In sys/times.h
|
||||
.Ft clock_t
|
||||
.Fn times "struct tms *tp"
|
||||
.Sh DESCRIPTION
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user