diff options
363 files changed, 727 insertions, 1 deletions
diff --git a/lib/libc/compat-43/creat.2 b/lib/libc/compat-43/creat.2 index 7e9f099..1ec50b0 100644 --- a/lib/libc/compat-43/creat.2 +++ b/lib/libc/compat-43/creat.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm creat .Nd create a new file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <fcntl.h> .Ft int diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3 index df3644c..0758be0 100644 --- a/lib/libc/compat-43/gethostid.3 +++ b/lib/libc/compat-43/gethostid.3 @@ -39,6 +39,8 @@ .Nm gethostid , .Nm sethostid .Nd get/set unique identifier of current host +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft long diff --git a/lib/libc/compat-43/killpg.2 b/lib/libc/compat-43/killpg.2 index 365ab4b..68e5e18 100644 --- a/lib/libc/compat-43/killpg.2 +++ b/lib/libc/compat-43/killpg.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm killpg .Nd send signal to a process group +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <signal.h> diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3 index 843a59f..3c48527 100644 --- a/lib/libc/compat-43/setruid.3 +++ b/lib/libc/compat-43/setruid.3 @@ -39,6 +39,8 @@ .Nm setruid , .Nm setrgid .Nd set user and group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/compat-43/sigblock.2 b/lib/libc/compat-43/sigblock.2 index f7809b8..812c99c 100644 --- a/lib/libc/compat-43/sigblock.2 +++ b/lib/libc/compat-43/sigblock.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigblock .Nd block signals +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/compat-43/sigpause.2 b/lib/libc/compat-43/sigpause.2 index 166fda3..619406b 100644 --- a/lib/libc/compat-43/sigpause.2 +++ b/lib/libc/compat-43/sigpause.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigpause .Nd atomically release blocked signals and wait for interrupt +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/compat-43/sigsetmask.2 b/lib/libc/compat-43/sigsetmask.2 index f5412f1..60a45d6 100644 --- a/lib/libc/compat-43/sigsetmask.2 +++ b/lib/libc/compat-43/sigsetmask.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigsetmask .Nd set current signal mask +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2 index f144efa..0674ccd 100644 --- a/lib/libc/compat-43/sigvec.2 +++ b/lib/libc/compat-43/sigvec.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigvec .Nd software signal facilities +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Bd -literal diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3 index 0265180..572110b 100644 --- a/lib/libc/gen/alarm.3 +++ b/lib/libc/gen/alarm.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm alarm .Nd set signal timer alarm +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft unsigned int diff --git a/lib/libc/gen/arc4random.3 b/lib/libc/gen/arc4random.3 index e83bb47..a3c54b8 100644 --- a/lib/libc/gen/arc4random.3 +++ b/lib/libc/gen/arc4random.3 @@ -38,6 +38,8 @@ .Nm arc4random_stir , .Nm arc4random_addrandom .Nd arc4 random number generator. +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft u_int32_t diff --git a/lib/libc/gen/clock.3 b/lib/libc/gen/clock.3 index 1d0f8fa..72f2b04 100644 --- a/lib/libc/gen/clock.3 +++ b/lib/libc/gen/clock.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm clock .Nd determine processor time used +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft clock_t diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index 6ba8e7c..6530f16 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm confstr .Nd get string-valued configurable variables +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft size_t diff --git a/lib/libc/gen/ctermid.3 b/lib/libc/gen/ctermid.3 index 3b1668f..69632e0 100644 --- a/lib/libc/gen/ctermid.3 +++ b/lib/libc/gen/ctermid.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm ctermid .Nd generate terminal pathname +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft char * diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3 index fa423d6..c220f22 100644 --- a/lib/libc/gen/daemon.3 +++ b/lib/libc/gen/daemon.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm daemon .Nd run in the background +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/gen/devname.3 b/lib/libc/gen/devname.3 index 2030125..b63d6c9 100644 --- a/lib/libc/gen/devname.3 +++ b/lib/libc/gen/devname.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm devname .Nd get device name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft char * diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index 6334d38..02033cd 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -45,6 +45,8 @@ .Nm closedir , .Nm dirfd .Nd directory operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <dirent.h> diff --git a/lib/libc/gen/dladdr.3 b/lib/libc/gen/dladdr.3 index 9938a7a..36c5886 100644 --- a/lib/libc/gen/dladdr.3 +++ b/lib/libc/gen/dladdr.3 @@ -31,6 +31,8 @@ .Sh NAME .Nm dladdr .Nd find the shared object containing a given address +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <dlfcn.h> .Ft int diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3 index 5597c00..7ee09aa 100644 --- a/lib/libc/gen/dllockinit.3 +++ b/lib/libc/gen/dllockinit.3 @@ -31,6 +31,8 @@ .Sh NAME .Nm dllockinit .Nd register thread locking methods with the dynamic linker +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <dlfcn.h> .Ft void diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 6485e75..66fa095 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm dlopen, dlsym, dlerror, dlclose .Nd programmatic interface to the dynamic linker +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <dlfcn.h> .Ft void * diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index 468fd1f..d13525a 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -51,6 +51,8 @@ .Nm err_set_exit , .Nm err_set_file .Nd formatted error messages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <err.h> .Ft void diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 8da1247..11717ef 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -43,6 +43,8 @@ .Nm execv , .Nm execvp .Nd execute a file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Vt extern char **environ; diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3 index 8b556b5..0f49e13 100644 --- a/lib/libc/gen/fnmatch.3 +++ b/lib/libc/gen/fnmatch.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm fnmatch .Nd match filename or pathname +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <fnmatch.h> .Ft int diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3 index f2a6b5c..3b71079 100644 --- a/lib/libc/gen/frexp.3 +++ b/lib/libc/gen/frexp.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm frexp .Nd convert floating-point number to fractional and integral components +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <math.h> .Ft double diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3 index 611bf30..cd7da7a 100644 --- a/lib/libc/gen/ftok.3 +++ b/lib/libc/gen/ftok.3 @@ -30,6 +30,8 @@ .Sh NAME .Nm ftok .Nd create IPC identifier from path name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index ba21c89..9cac951 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm fts .Nd traverse a file hierarchy +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/stat.h> diff --git a/lib/libc/gen/getbootfile.3 b/lib/libc/gen/getbootfile.3 index 1ad2b8e..cf4e0db 100644 --- a/lib/libc/gen/getbootfile.3 +++ b/lib/libc/gen/getbootfile.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getbootfile .Nd get kernel boot file name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <paths.h> .Ft const char * diff --git a/lib/libc/gen/getbsize.3 b/lib/libc/gen/getbsize.3 index 00b09c6..55b6f3f 100644 --- a/lib/libc/gen/getbsize.3 +++ b/lib/libc/gen/getbsize.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getbsize .Nd get user block size +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft char * diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index 43d9685..26b33bb 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -50,6 +50,8 @@ .Nm cgetnext , .Nm cgetclose .Nd capability database access routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3 index 357fdf3..8faa4a4 100644 --- a/lib/libc/gen/getcwd.3 +++ b/lib/libc/gen/getcwd.3 @@ -39,6 +39,8 @@ .Nm getcwd , .Nm getwd .Nd get working directory pathname +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/getdiskbyname.3 b/lib/libc/gen/getdiskbyname.3 index 14d8824..62036f3 100644 --- a/lib/libc/gen/getdiskbyname.3 +++ b/lib/libc/gen/getdiskbyname.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getdiskbyname .Nd get generic disk description by its name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/disklabel.h> .Ft struct disklabel * diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index 60a8099..a58dc2e 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -39,6 +39,8 @@ .Nm getdomainname , .Nm setdomainname .Nd get/set domain name of current host +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3 index 98064fc..75e3596 100644 --- a/lib/libc/gen/getfsent.3 +++ b/lib/libc/gen/getfsent.3 @@ -42,6 +42,8 @@ .Nm setfsent , .Nm endfsent .Nd get file system descriptor file entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <fstab.h> .Ft struct fstab * diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3 index ffac782..bb3f560 100644 --- a/lib/libc/gen/getgrent.3 +++ b/lib/libc/gen/getgrent.3 @@ -44,6 +44,8 @@ .Nm setgrent , .Nm endgrent .Nd group database operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <grp.h> diff --git a/lib/libc/gen/getgrouplist.3 b/lib/libc/gen/getgrouplist.3 index e85eaa5..ae5b28a 100644 --- a/lib/libc/gen/getgrouplist.3 +++ b/lib/libc/gen/getgrouplist.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getgrouplist .Nd calculate group access list +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index f4d2d04..f8ff974 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -39,6 +39,8 @@ .Nm gethostname , .Nm sethostname .Nd get/set name of current host +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/getloadavg.3 b/lib/libc/gen/getloadavg.3 index 737f699..14479f4 100644 --- a/lib/libc/gen/getloadavg.3 +++ b/lib/libc/gen/getloadavg.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getloadavg .Nd get system load averages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3 index f1a7fa5..16abf62 100644 --- a/lib/libc/gen/getmntinfo.3 +++ b/lib/libc/gen/getmntinfo.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getmntinfo .Nd get information about mounted file systems +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/ucred.h> diff --git a/lib/libc/gen/getnetgrent.3 b/lib/libc/gen/getnetgrent.3 index db8f550..3258df6 100644 --- a/lib/libc/gen/getnetgrent.3 +++ b/lib/libc/gen/getnetgrent.3 @@ -41,6 +41,8 @@ .Nm setnetgrent , .Nm endnetgrent .Nd netgroup database operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Ft int .Fn getnetgrent "char **host" "char **user" "char **domain" diff --git a/lib/libc/gen/getobjformat.3 b/lib/libc/gen/getobjformat.3 index 3862d82..4d6c595 100644 --- a/lib/libc/gen/getobjformat.3 +++ b/lib/libc/gen/getobjformat.3 @@ -30,6 +30,8 @@ .Sh NAME .Nm getobjformat .Nd get preferred object file format +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <objformat.h> .Ft int diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3 index 549cfe7..5fd90df 100644 --- a/lib/libc/gen/getpagesize.3 +++ b/lib/libc/gen/getpagesize.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getpagesize .Nd get system page size +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/getpass.3 b/lib/libc/gen/getpass.3 index 4fe2636..8045130 100644 --- a/lib/libc/gen/getpass.3 +++ b/lib/libc/gen/getpass.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getpass .Nd get a password +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <pwd.h> .Fd #include <unistd.h> diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index d925055..4084289 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -43,6 +43,8 @@ .Nm setpwent , .Nm endpwent .Nd password database operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <pwd.h> diff --git a/lib/libc/gen/getttyent.3 b/lib/libc/gen/getttyent.3 index ab3ff1d..cc108e6 100644 --- a/lib/libc/gen/getttyent.3 +++ b/lib/libc/gen/getttyent.3 @@ -44,6 +44,8 @@ .Nm isdialuptty , .Nm isnettty .Nd determine tty type from ttys file entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ttyent.h> .Ft struct ttyent * diff --git a/lib/libc/gen/getusershell.3 b/lib/libc/gen/getusershell.3 index 8541762..068c5d9 100644 --- a/lib/libc/gen/getusershell.3 +++ b/lib/libc/gen/getusershell.3 @@ -40,6 +40,8 @@ .Nm setusershell , .Nm endusershell .Nd get legal user shells +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/getvfsbyname.3 b/lib/libc/gen/getvfsbyname.3 index c33fbea..41167bd 100644 --- a/lib/libc/gen/getvfsbyname.3 +++ b/lib/libc/gen/getvfsbyname.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getvfsbyname .Nd get information about a filesystem +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/gen/getvfsent.3 b/lib/libc/gen/getvfsent.3 index 127e0f3..67862b5 100644 --- a/lib/libc/gen/getvfsent.3 +++ b/lib/libc/gen/getvfsent.3 @@ -12,6 +12,8 @@ .Nm vfsisloadable , .Nm vfsload .Nd manage virtual filesystem modules +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index d99dc9f..aae4d2b 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -41,6 +41,8 @@ .Nm glob , .Nm globfree .Nd generate pathnames matching a pattern +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <glob.h> .Ft int diff --git a/lib/libc/gen/initgroups.3 b/lib/libc/gen/initgroups.3 index 5ed1e06..f48548e 100644 --- a/lib/libc/gen/initgroups.3 +++ b/lib/libc/gen/initgroups.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm initgroups .Nd initialize group access list +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/isinf.3 b/lib/libc/gen/isinf.3 index a60bc4e..ee7558a 100644 --- a/lib/libc/gen/isinf.3 +++ b/lib/libc/gen/isinf.3 @@ -40,6 +40,8 @@ .Nm isnan , .Nm isnanf .Nd test for infinity or not-a-number +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Ft int .Fn isinf double diff --git a/lib/libc/gen/ldexp.3 b/lib/libc/gen/ldexp.3 index 8a0ffef..e340d0f 100644 --- a/lib/libc/gen/ldexp.3 +++ b/lib/libc/gen/ldexp.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm ldexp .Nd multiply floating-point number by integral power of 2 +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <math.h> .Ft double diff --git a/lib/libc/gen/lockf.3 b/lib/libc/gen/lockf.3 index fe877bd..1ca4612 100644 --- a/lib/libc/gen/lockf.3 +++ b/lib/libc/gen/lockf.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm lockf .Nd record locking on files +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/modf.3 b/lib/libc/gen/modf.3 index c2941a8..e1a8117 100644 --- a/lib/libc/gen/modf.3 +++ b/lib/libc/gen/modf.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm modf .Nd extract signed integral and fractional values from floating-point number +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <math.h> .Ft double diff --git a/lib/libc/gen/msgctl.3 b/lib/libc/gen/msgctl.3 index e95284c..9e446fa 100644 --- a/lib/libc/gen/msgctl.3 +++ b/lib/libc/gen/msgctl.3 @@ -37,6 +37,8 @@ .Sh NAME .Nm msgctl .Nd message control operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/gen/msgget.3 b/lib/libc/gen/msgget.3 index f68cd8a..20e7401 100644 --- a/lib/libc/gen/msgget.3 +++ b/lib/libc/gen/msgget.3 @@ -37,6 +37,8 @@ .Sh NAME .Nm msgget .Nd get message queue +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/gen/msgrcv.3 b/lib/libc/gen/msgrcv.3 index 846ac6f..21c9c3e 100644 --- a/lib/libc/gen/msgrcv.3 +++ b/lib/libc/gen/msgrcv.3 @@ -37,6 +37,8 @@ .Sh NAME .Nm msgrcv .Nd receive a message from a message queue +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/gen/msgsnd.3 b/lib/libc/gen/msgsnd.3 index 2ede183..9d445d5 100644 --- a/lib/libc/gen/msgsnd.3 +++ b/lib/libc/gen/msgsnd.3 @@ -37,6 +37,8 @@ .Sh NAME .Nm msgsnd .Nd send a message to a message queue +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3 index d61ec2e..d464a4d 100644 --- a/lib/libc/gen/nice.3 +++ b/lib/libc/gen/nice.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm nice .Nd set program scheduling priority +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3 index 69add4a..96ba25c 100644 --- a/lib/libc/gen/nlist.3 +++ b/lib/libc/gen/nlist.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm nlist .Nd retrieve symbol table name list from an executable file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <nlist.h> .Ft int diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3 index e48bc8e..c8315dd 100644 --- a/lib/libc/gen/pause.3 +++ b/lib/libc/gen/pause.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm pause .Nd stop until signal +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3 index 53004c0..bfb6350 100644 --- a/lib/libc/gen/popen.3 +++ b/lib/libc/gen/popen.3 @@ -40,6 +40,8 @@ .Nm pclose .Nd process .Tn I/O +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft FILE * diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index aad4133..3867a32 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -41,6 +41,8 @@ .Nm sys_siglist , .Nm sys_signame .Nd system signal messages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft void diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index d5f08a2..7c20d94 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm pwcache .Nd cache password and group entries +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft char * diff --git a/lib/libc/gen/raise.3 b/lib/libc/gen/raise.3 index 556ad2a..793759e 100644 --- a/lib/libc/gen/raise.3 +++ b/lib/libc/gen/raise.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm raise .Nd send a signal to the current process +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/gen/rand48.3 b/lib/libc/gen/rand48.3 index a6b2eef..b7ba681 100644 --- a/lib/libc/gen/rand48.3 +++ b/lib/libc/gen/rand48.3 @@ -26,6 +26,8 @@ .Nm seed48 , .Nm lcong48 .Nd pseudo random number generators and initialization routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft double diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index afcde28..db74d3b 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -39,6 +39,8 @@ .Nm scandir , .Nm alphasort .Nd scan a directory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <dirent.h> diff --git a/lib/libc/gen/setflags.3 b/lib/libc/gen/setflags.3 index 09c6208..b4461ac 100644 --- a/lib/libc/gen/setflags.3 +++ b/lib/libc/gen/setflags.3 @@ -39,6 +39,8 @@ .Nm getflags , .Nm setflags .Nd modify file flag bits +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/setflagsbyname.3 b/lib/libc/gen/setflagsbyname.3 index 09c6208..b4461ac 100644 --- a/lib/libc/gen/setflagsbyname.3 +++ b/lib/libc/gen/setflagsbyname.3 @@ -39,6 +39,8 @@ .Nm getflags , .Nm setflags .Nd modify file flag bits +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3 index 779239c..54b6c59 100644 --- a/lib/libc/gen/setjmp.3 +++ b/lib/libc/gen/setjmp.3 @@ -48,6 +48,8 @@ .Nm _longjmp , .Nm longjmperror .Nd non-local jumps +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <setjmp.h> .Ft int diff --git a/lib/libc/gen/setmode.3 b/lib/libc/gen/setmode.3 index 20a26fe..2ea5d80 100644 --- a/lib/libc/gen/setmode.3 +++ b/lib/libc/gen/setmode.3 @@ -39,6 +39,8 @@ .Nm getmode , .Nm setmode .Nd modify mode bits +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft mode_t diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3 index ffce99c..4c38732 100644 --- a/lib/libc/gen/siginterrupt.3 +++ b/lib/libc/gen/siginterrupt.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm siginterrupt .Nd allow signals to interrupt system calls +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 589331f..9663076 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm signal .Nd simplified software signal facilities +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .\" The following is Quite Ugly, but syntactically correct. Don't try to diff --git a/lib/libc/gen/sigsetops.3 b/lib/libc/gen/sigsetops.3 index a32daf6..d50da00 100644 --- a/lib/libc/gen/sigsetops.3 +++ b/lib/libc/gen/sigsetops.3 @@ -42,6 +42,8 @@ .Nm sigdelset , .Nm sigismember .Nd manipulate signal sets +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index e59aad5..ea178d3 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm sleep .Nd suspend process execution for an interval measured in seconds +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft unsigned int diff --git a/lib/libc/gen/stringlist.3 b/lib/libc/gen/stringlist.3 index 21fb2db..e42706b 100644 --- a/lib/libc/gen/stringlist.3 +++ b/lib/libc/gen/stringlist.3 @@ -45,6 +45,8 @@ .Nm sl_free , .Nm sl_find .Nd stringlist manipulation functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stringlist.h> .Ft StringList * diff --git a/lib/libc/gen/strtofflags.3 b/lib/libc/gen/strtofflags.3 index 09c6208..b4461ac 100644 --- a/lib/libc/gen/strtofflags.3 +++ b/lib/libc/gen/strtofflags.3 @@ -39,6 +39,8 @@ .Nm getflags , .Nm setflags .Nd modify file flag bits +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3 index e18c045..102a3e3 100644 --- a/lib/libc/gen/sysconf.3 +++ b/lib/libc/gen/sysconf.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm sysconf .Nd get configurable system variables +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft long diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index bcf4285..5123cd7 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -39,6 +39,8 @@ .Nm sysctl , .Nm sysctlbyname .Nd get or set system information +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/sysctl.h> diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3 index 550ce5b..13d1d19 100644 --- a/lib/libc/gen/syslog.3 +++ b/lib/libc/gen/syslog.3 @@ -42,6 +42,8 @@ .Nm closelog , .Nm setlogmask .Nd control system log +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <syslog.h> .Fd #include <varargs.h> diff --git a/lib/libc/gen/tcgetpgrp.3 b/lib/libc/gen/tcgetpgrp.3 index 7a026b7..d04f0845 100644 --- a/lib/libc/gen/tcgetpgrp.3 +++ b/lib/libc/gen/tcgetpgrp.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm tcgetpgrp .Nd get foreground process group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/gen/tcsendbreak.3 b/lib/libc/gen/tcsendbreak.3 index 6b5f754..4d282cf 100644 --- a/lib/libc/gen/tcsendbreak.3 +++ b/lib/libc/gen/tcsendbreak.3 @@ -41,6 +41,8 @@ .Nm tcflush , .Nm tcflow .Nd line control functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <termios.h> .Ft int diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3 index b5c6fd9..d2bf500 100644 --- a/lib/libc/gen/tcsetattr.3 +++ b/lib/libc/gen/tcsetattr.3 @@ -45,6 +45,8 @@ .Nm tcgetattr , .Nm tcsetattr .Nd manipulating the termios structure +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <termios.h> .Ft speed_t diff --git a/lib/libc/gen/tcsetpgrp.3 b/lib/libc/gen/tcsetpgrp.3 index 3da2cd1..4f4b48b 100644 --- a/lib/libc/gen/tcsetpgrp.3 +++ b/lib/libc/gen/tcsetpgrp.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm tcsetpgrp .Nd set foreground process group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3 index 71c1982..103a4ed 100644 --- a/lib/libc/gen/time.3 +++ b/lib/libc/gen/time.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm time .Nd get time of day +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft time_t diff --git a/lib/libc/gen/times.3 b/lib/libc/gen/times.3 index b971e2d..12bd830 100644 --- a/lib/libc/gen/times.3 +++ b/lib/libc/gen/times.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm times .Nd process times +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/times.h> .Ft clock_t diff --git a/lib/libc/gen/timezone.3 b/lib/libc/gen/timezone.3 index 7468aa4..8e7c05f 100644 --- a/lib/libc/gen/timezone.3 +++ b/lib/libc/gen/timezone.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm timezone .Nd return the timezone abbreviation +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Ft char * .Fn timezone "int zone" "int dst" diff --git a/lib/libc/gen/ttyname.3 b/lib/libc/gen/ttyname.3 index 5e7bb4e..e09bd6a 100644 --- a/lib/libc/gen/ttyname.3 +++ b/lib/libc/gen/ttyname.3 @@ -40,6 +40,8 @@ .Nm isatty , .Nm ttyslot .Nd get name of associated terminal (tty) from file descriptor +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/gen/tzset.3 b/lib/libc/gen/tzset.3 index 853a1da..d76e435 100644 --- a/lib/libc/gen/tzset.3 +++ b/lib/libc/gen/tzset.3 @@ -42,6 +42,8 @@ .Nm tzset , .Nm tzsetwall .Nd initialize time conversion information +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft void diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3 index bbf9457..b42021e 100644 --- a/lib/libc/gen/ualarm.3 +++ b/lib/libc/gen/ualarm.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm ualarm .Nd schedule signal after specified time +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft u_int diff --git a/lib/libc/gen/uname.3 b/lib/libc/gen/uname.3 index 6a3aef6..2c72472 100644 --- a/lib/libc/gen/uname.3 +++ b/lib/libc/gen/uname.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm uname .Nd get system identification +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/utsname.h> .Ft int diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3 index 16734d1..f5bb169 100644 --- a/lib/libc/gen/unvis.3 +++ b/lib/libc/gen/unvis.3 @@ -39,6 +39,8 @@ .Nm unvis , .Nm strunvis .Nd decode a visual representation of characters +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <vis.h> .Ft int diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3 index 77d6259..dddc856 100644 --- a/lib/libc/gen/usleep.3 +++ b/lib/libc/gen/usleep.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm usleep .Nd suspend process execution for an interval measured in microseconds +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3 index b8d66fd..bee33be 100644 --- a/lib/libc/gen/utime.3 +++ b/lib/libc/gen/utime.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm utime .Nd set file times +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <utime.h> diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3 index e97d1f3..25ce131 100644 --- a/lib/libc/gen/valloc.3 +++ b/lib/libc/gen/valloc.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm valloc .Nd aligned memory allocation function +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft void * diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3 index e8860b0..88d5b52 100644 --- a/lib/libc/gen/vis.3 +++ b/lib/libc/gen/vis.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm vis .Nd visually encode characters +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <vis.h> .Ft char * diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3 index f608f8f..0359752 100644 --- a/lib/libc/gmon/moncontrol.3 +++ b/lib/libc/gmon/moncontrol.3 @@ -39,6 +39,8 @@ .Nm moncontrol , .Nm monstartup .Nd control execution profile +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Ft int diff --git a/lib/libc/i386/sys/i386_get_ioperm.2 b/lib/libc/i386/sys/i386_get_ioperm.2 index 2d326b8..f433c5b 100644 --- a/lib/libc/i386/sys/i386_get_ioperm.2 +++ b/lib/libc/i386/sys/i386_get_ioperm.2 @@ -31,6 +31,8 @@ .Nm i386_get_ioperm , .Nm i386_set_ioperm .Nd manage per-process access to the i386 I/O port space +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/sysarch.h> .Ft int diff --git a/lib/libc/i386/sys/i386_get_ldt.2 b/lib/libc/i386/sys/i386_get_ldt.2 index fce57b6..01ab02a 100644 --- a/lib/libc/i386/sys/i386_get_ldt.2 +++ b/lib/libc/i386/sys/i386_get_ldt.2 @@ -39,6 +39,8 @@ .Nm i386_get_ldt , .Nm i386_set_ldt .Nd manage i386 per-process Local Descriptor Table entries +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/segments.h> .Fd #include <machine/sysarch.h> diff --git a/lib/libc/i386/sys/i386_vm86.2 b/lib/libc/i386/sys/i386_vm86.2 index 4dc0d52..ad3e218 100644 --- a/lib/libc/i386/sys/i386_vm86.2 +++ b/lib/libc/i386/sys/i386_vm86.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm i386_vm86 .Nd control vm86-related functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <machine/sysarch.h> diff --git a/lib/libc/locale/ctype.3 b/lib/libc/locale/ctype.3 index ba7143b..f64c19b 100644 --- a/lib/libc/locale/ctype.3 +++ b/lib/libc/locale/ctype.3 @@ -59,6 +59,8 @@ .Nm tolower , .Nm toupper .Nd character classification macros +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3 index 12f56ca..08a7e1b 100644 --- a/lib/libc/locale/isalnum.3 +++ b/lib/libc/locale/isalnum.3 @@ -46,6 +46,8 @@ .Fd #include <ctype.h> .Ft int .Fn isalnum "int c" +.Sh LIBRARY +.Lb libc .Sh DESCRIPTION The .Fn isalnum diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3 index 4f7e3f9..0d0cd2d 100644 --- a/lib/libc/locale/isalpha.3 +++ b/lib/libc/locale/isalpha.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isalpha .Nd alphabetic character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isascii.3 b/lib/libc/locale/isascii.3 index b37f89b..be2bb08 100644 --- a/lib/libc/locale/isascii.3 +++ b/lib/libc/locale/isascii.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm isascii .Nd test for ASCII character +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isblank.3 b/lib/libc/locale/isblank.3 index 47fbf25..e40a48d 100644 --- a/lib/libc/locale/isblank.3 +++ b/lib/libc/locale/isblank.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm isblank .Nd space or tab character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3 index 301e028..cd7d17e 100644 --- a/lib/libc/locale/iscntrl.3 +++ b/lib/libc/locale/iscntrl.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm iscntrl .Nd control character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3 index 142e1c3..03cb69b 100644 --- a/lib/libc/locale/isdigit.3 +++ b/lib/libc/locale/isdigit.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isdigit .Nd decimal-digit character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isgraph.3 b/lib/libc/locale/isgraph.3 index 94d5c3b..b557a0f 100644 --- a/lib/libc/locale/isgraph.3 +++ b/lib/libc/locale/isgraph.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isgraph .Nd printing character test (space character exclusive) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/islower.3 b/lib/libc/locale/islower.3 index acefb21..a93a1e8 100644 --- a/lib/libc/locale/islower.3 +++ b/lib/libc/locale/islower.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm islower .Nd lower-case character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3 index c5e46da..4505b42 100644 --- a/lib/libc/locale/isprint.3 +++ b/lib/libc/locale/isprint.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isprint .Nd printing character test (space character inclusive) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/ispunct.3 b/lib/libc/locale/ispunct.3 index 90374ce..866a130 100644 --- a/lib/libc/locale/ispunct.3 +++ b/lib/libc/locale/ispunct.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm ispunct .Nd punctuation character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3 index 1e7674a..6a1a73e 100644 --- a/lib/libc/locale/isspace.3 +++ b/lib/libc/locale/isspace.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isspace .Nd white-space character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isupper.3 b/lib/libc/locale/isupper.3 index dd96238..ad3f36b 100644 --- a/lib/libc/locale/isupper.3 +++ b/lib/libc/locale/isupper.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isupper .Nd upper-case character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3 index 11a7b35..a33b48c 100644 --- a/lib/libc/locale/isxdigit.3 +++ b/lib/libc/locale/isxdigit.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm isxdigit .Nd hexadecimal-digit character test +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/mbrune.3 b/lib/libc/locale/mbrune.3 index 5c9d53b..1e68ae5 100644 --- a/lib/libc/locale/mbrune.3 +++ b/lib/libc/locale/mbrune.3 @@ -43,6 +43,8 @@ .Nm mbrrune , .Nm mbmb .Nd multibyte rune support for C +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <rune.h> .Ft char * diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3 index fd0c19f..cf4093c 100644 --- a/lib/libc/locale/multibyte.3 +++ b/lib/libc/locale/multibyte.3 @@ -45,6 +45,8 @@ .Nm wcstombs , .Nm wctomb .Nd multibyte character support for C +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3 index a479e33..b6fb142 100644 --- a/lib/libc/locale/rune.3 +++ b/lib/libc/locale/rune.3 @@ -44,6 +44,8 @@ .Nm sgetrune , .Nm sputrune .Nd rune support for C +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <rune.h> .Fd #include <errno.h> diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3 index 4750034..2bd565c 100644 --- a/lib/libc/locale/setlocale.3 +++ b/lib/libc/locale/setlocale.3 @@ -42,6 +42,8 @@ .Nm setlocale , .Nm localeconv .Nd natural language formatting for C +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <locale.h> .Ft char * diff --git a/lib/libc/locale/toascii.3 b/lib/libc/locale/toascii.3 index 6fc26f97..168da1e 100644 --- a/lib/libc/locale/toascii.3 +++ b/lib/libc/locale/toascii.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm toascii .Nd convert a byte to 7-bit ASCII +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/tolower.3 b/lib/libc/locale/tolower.3 index dfb7c25..6b81d0b 100644 --- a/lib/libc/locale/tolower.3 +++ b/lib/libc/locale/tolower.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm tolower .Nd upper case to lower case letter conversion +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3 index 28bc027..64834ab 100644 --- a/lib/libc/locale/toupper.3 +++ b/lib/libc/locale/toupper.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm toupper .Nd lower case to upper case letter conversion +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3 index b5ec167..e91b1d9 100644 --- a/lib/libc/net/addr2ascii.3 +++ b/lib/libc/net/addr2ascii.3 @@ -36,6 +36,8 @@ .Nm addr2ascii , .Nm ascii2addr .Nd Generic address formatting routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netinet/in.h> diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3 index 3c55d21c..a38ba82 100644 --- a/lib/libc/net/byteorder.3 +++ b/lib/libc/net/byteorder.3 @@ -41,6 +41,8 @@ .Nm ntohl , .Nm ntohs .Nd convert values between host and network byte order +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Ft u_long diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 72b7488..1c1fb26 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -41,6 +41,8 @@ .Nm ether_ntohost , .Nm ether_hostton .Nd Ethernet address conversion and lookup routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index 754a796..fd4b6d1 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -43,6 +43,8 @@ .Nm gai_strerror .Nd nodename-to-address translation in protocol-independent manner .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 1b48c4a..e513d74 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -45,6 +45,8 @@ .Nm herror , .Nm hstrerror .Nd get network host entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <netdb.h> .Vt extern int h_errno; diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3 index d5a881a..bb20406 100644 --- a/lib/libc/net/getipnodebyname.3 +++ b/lib/libc/net/getipnodebyname.3 @@ -43,6 +43,8 @@ .Nm freehostent .Nd nodename-to-address and address-to-nodename translation .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 732af8e..4496633 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -41,6 +41,8 @@ .Nm getnameinfo .Nd address-to-nodename translation in protocol-independent manner .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3 index 1bf3664..086f4c3 100644 --- a/lib/libc/net/getnetent.3 +++ b/lib/libc/net/getnetent.3 @@ -42,6 +42,8 @@ .Nm setnetent , .Nm endnetent .Nd get network entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <netdb.h> .Ft struct netent * diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3 index fad937e..22dba9c 100644 --- a/lib/libc/net/getprotoent.3 +++ b/lib/libc/net/getprotoent.3 @@ -42,6 +42,8 @@ .Nm setprotoent , .Nm endprotoent .Nd get protocol entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <netdb.h> .Ft struct protoent * diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3 index eac2361..f7c1dcb 100644 --- a/lib/libc/net/getservent.3 +++ b/lib/libc/net/getservent.3 @@ -42,6 +42,8 @@ .Nm setservent , .Nm endservent .Nd get service entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <netdb.h> .Ft struct servent * diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index 0906ee0..612ae1b 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/lib/libc/net/if_indextoname.3 @@ -41,6 +41,8 @@ .Nm if_nameindex , .Nm if_freenameindex .Nd convert interface index to name, and vice versa +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3 index f9941fc..2c7069d 100644 --- a/lib/libc/net/inet.3 +++ b/lib/libc/net/inet.3 @@ -46,6 +46,8 @@ .Nm inet_lnaof , .Nm inet_netof .Nd Internet address manipulation routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3 index 6fd71b6..6c0e365 100644 --- a/lib/libc/net/inet6_option_space.3 +++ b/lib/libc/net/inet6_option_space.3 @@ -45,6 +45,8 @@ .Nm inet6_option_find .Nd IPv6 Hop-by-Hop and Destination Options manipulation .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netinet/in.h> diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3 index 5f0845e..5ea8e63 100644 --- a/lib/libc/net/inet6_rthdr_space.3 +++ b/lib/libc/net/inet6_rthdr_space.3 @@ -47,6 +47,8 @@ .Nm inet6_rthdr_getflags .Nd IPv6 Routing Header Options manipulation .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netinet/in.h> diff --git a/lib/libc/net/iso_addr.3 b/lib/libc/net/iso_addr.3 index ad49778..7a86f63 100644 --- a/lib/libc/net/iso_addr.3 +++ b/lib/libc/net/iso_addr.3 @@ -39,6 +39,8 @@ .Nm iso_addr , .Nm iso_ntoa .Nd "elementary network address conversion routines for Open System Interconnection +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netiso/iso.h> diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3 index 543e040..9dd9e2e 100644 --- a/lib/libc/net/linkaddr.3 +++ b/lib/libc/net/linkaddr.3 @@ -42,6 +42,8 @@ .Nm link_addr , .Nm link_ntoa .Nd elementary address specification routines for link level access +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/net/ns.3 b/lib/libc/net/ns.3 index 6e697f9..3da4127 100644 --- a/lib/libc/net/ns.3 +++ b/lib/libc/net/ns.3 @@ -41,6 +41,8 @@ .Nd Xerox .Tn NS Ns (tm) address conversion routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netns/ns.h> diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index c16cddf..0287d34 100644 --- a/lib/libc/net/rcmd.3 +++ b/lib/libc/net/rcmd.3 @@ -44,6 +44,8 @@ .Nm rresvport_af , .Nm iruserok_sa .Nd routines for returning a stream to a remote command +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 4e71585..e1f3665 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -44,6 +44,8 @@ .Nm dn_comp , .Nm dn_expand .Nd resolver routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <netinet/in.h> diff --git a/lib/libc/nls/catclose.3 b/lib/libc/nls/catclose.3 index fcdecc5..d62aa13 100644 --- a/lib/libc/nls/catclose.3 +++ b/lib/libc/nls/catclose.3 @@ -34,6 +34,8 @@ .Sh NAME .Nm catclose .Nd close message catalog +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <nl_types.h> .Ft int diff --git a/lib/libc/nls/catgets.3 b/lib/libc/nls/catgets.3 index 9359e5f..b55d708 100644 --- a/lib/libc/nls/catgets.3 +++ b/lib/libc/nls/catgets.3 @@ -34,6 +34,8 @@ .Sh NAME .Nm catgets .Nd retrieve string from message catalog +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <nl_types.h> .Ft char * diff --git a/lib/libc/nls/catopen.3 b/lib/libc/nls/catopen.3 index 53b4ee8..45af7ca 100644 --- a/lib/libc/nls/catopen.3 +++ b/lib/libc/nls/catopen.3 @@ -34,6 +34,8 @@ .Sh NAME .Nm catopen .Nd open message catalog +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <nl_types.h> .Ft nl_catd diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3 index 9850c8b..16cec8b 100644 --- a/lib/libc/stdio/fclose.3 +++ b/lib/libc/stdio/fclose.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm fclose .Nd close a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index c6850c9..d79686d 100644 --- a/lib/libc/stdio/ferror.3 +++ b/lib/libc/stdio/ferror.3 @@ -45,6 +45,8 @@ .Nm ferror , .Nm fileno .Nd check and reset stream status +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft void diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3 index 0b0ed43..2869221 100644 --- a/lib/libc/stdio/fflush.3 +++ b/lib/libc/stdio/fflush.3 @@ -43,6 +43,8 @@ .Nm fflush , .Nm fpurge .Nd flush a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/fgetln.3 b/lib/libc/stdio/fgetln.3 index 17c09e7..a0c6c03 100644 --- a/lib/libc/stdio/fgetln.3 +++ b/lib/libc/stdio/fgetln.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm fgetln .Nd get a line from a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft char * diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index 9b4d4ef..76518b6 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -43,6 +43,8 @@ .Nm fgets , .Nm gets .Nd get a line from a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft char * diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index 0b76729..9c10ed1 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -44,6 +44,8 @@ .Nm fdopen , .Nm freopen .Nd stream open functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft FILE * diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3 index 75ba73d..6336110 100644 --- a/lib/libc/stdio/fputs.3 +++ b/lib/libc/stdio/fputs.3 @@ -43,6 +43,8 @@ .Nm fputs , .Nm puts .Nd output a line to a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3 index 5fc67a2..16e7da3 100644 --- a/lib/libc/stdio/fread.3 +++ b/lib/libc/stdio/fread.3 @@ -43,6 +43,8 @@ .Nm fread , .Nm fwrite .Nd binary stream input/output +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft size_t diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3 index fd6ff9f..44c255a 100644 --- a/lib/libc/stdio/fseek.3 +++ b/lib/libc/stdio/fseek.3 @@ -48,6 +48,8 @@ .Nm ftello , .Nm rewind .Nd reposition a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3 index b3cf808..ad1d9d7 100644 --- a/lib/libc/stdio/funopen.3 +++ b/lib/libc/stdio/funopen.3 @@ -42,6 +42,8 @@ .Nm fropen , .Nm fwopen .Nd open a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft FILE * diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3 index b0fde0d..b6e32ef 100644 --- a/lib/libc/stdio/getc.3 +++ b/lib/libc/stdio/getc.3 @@ -45,6 +45,8 @@ .Nm getchar , .Nm getw .Nd get next character or word from input stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3 index 9b92d4a..03024c2 100644 --- a/lib/libc/stdio/mktemp.3 +++ b/lib/libc/stdio/mktemp.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm mktemp .Nd make temporary file name (unique) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index f72c10c..088e9e3 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -51,6 +51,8 @@ .Nm vsnprintf , .Nm vasprintf .Nd formatted output conversion +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3 index 6de85c1..bb82d58 100644 --- a/lib/libc/stdio/putc.3 +++ b/lib/libc/stdio/putc.3 @@ -45,6 +45,8 @@ .Nm putchar , .Nm putw .Nd output a character or word to a stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3 index e9b380b..4f2c5c4 100644 --- a/lib/libc/stdio/remove.3 +++ b/lib/libc/stdio/remove.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm remove .Nd remove directory entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index f6be018..cae4c04 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -47,6 +47,8 @@ .Nm vsscanf , .Nm vfscanf .Nd input format conversion +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index 1626bc1..7b1b63d 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -45,6 +45,8 @@ .Nm setlinebuf , .Nm setvbuf .Nd stream buffering operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft void diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index 345a083..f623ec7 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm stdio .Nd standard input/output library functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Fd FILE *stdin; diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3 index 423898c..3a14e9c2 100644 --- a/lib/libc/stdio/tmpnam.3 +++ b/lib/libc/stdio/tmpnam.3 @@ -44,6 +44,8 @@ .Nm tmpfile , .Nm tmpnam .Nd temporary file routines +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft FILE * diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3 index cc67589..2fec98b 100644 --- a/lib/libc/stdio/ungetc.3 +++ b/lib/libc/stdio/ungetc.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm ungetc .Nd un-get character from input stream +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/stdlib/abort.3 b/lib/libc/stdlib/abort.3 index 02f369e..1707e45 100644 --- a/lib/libc/stdlib/abort.3 +++ b/lib/libc/stdlib/abort.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm abort .Nd cause abnormal program termination +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void diff --git a/lib/libc/stdlib/abs.3 b/lib/libc/stdlib/abs.3 index 85a89ff..13ee320 100644 --- a/lib/libc/stdlib/abs.3 +++ b/lib/libc/stdlib/abs.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm abs .Nd integer absolute value function +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/stdlib/alloca.3 b/lib/libc/stdlib/alloca.3 index e3edce8..0480a0b 100644 --- a/lib/libc/stdlib/alloca.3 +++ b/lib/libc/stdlib/alloca.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm alloca .Nd memory allocator +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void * diff --git a/lib/libc/stdlib/atexit.3 b/lib/libc/stdlib/atexit.3 index 1ba69fb..6c49054 100644 --- a/lib/libc/stdlib/atexit.3 +++ b/lib/libc/stdlib/atexit.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm atexit .Nd register a function to be called on exit +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3 index d09bcee..64546cf 100644 --- a/lib/libc/stdlib/atof.3 +++ b/lib/libc/stdlib/atof.3 @@ -44,6 +44,8 @@ .Nd convert .Tn ASCII string to double +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft double diff --git a/lib/libc/stdlib/atoi.3 b/lib/libc/stdlib/atoi.3 index 8292c91..dbc3d61 100644 --- a/lib/libc/stdlib/atoi.3 +++ b/lib/libc/stdlib/atoi.3 @@ -44,6 +44,8 @@ .Nd convert .Tn ASCII string to integer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3 index 0165f60..06b912c 100644 --- a/lib/libc/stdlib/atol.3 +++ b/lib/libc/stdlib/atol.3 @@ -44,6 +44,8 @@ .Nd convert .Tn ASCII string to long integer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft long diff --git a/lib/libc/stdlib/bsearch.3 b/lib/libc/stdlib/bsearch.3 index 6a7c06f..3f645a3 100644 --- a/lib/libc/stdlib/bsearch.3 +++ b/lib/libc/stdlib/bsearch.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm bsearch .Nd binary search of a sorted table +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void * diff --git a/lib/libc/stdlib/div.3 b/lib/libc/stdlib/div.3 index f596aa3..acc2cbf 100644 --- a/lib/libc/stdlib/div.3 +++ b/lib/libc/stdlib/div.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm div .Nd return quotient and remainder from division +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft div_t diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3 index 15531f9..abde0eb 100644 --- a/lib/libc/stdlib/exit.3 +++ b/lib/libc/stdlib/exit.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm exit .Nd perform normal program termination +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index aff0d7d..752552d 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -45,6 +45,8 @@ .Nm setenv , .Nm unsetenv .Nd environment variable functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft char * diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 43758e3..ec504fe 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getopt .Nd get option character from command line argument list +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Vt extern char *optarg; diff --git a/lib/libc/stdlib/getsubopt.3 b/lib/libc/stdlib/getsubopt.3 index 62898dc..550cfb3 100644 --- a/lib/libc/stdlib/getsubopt.3 +++ b/lib/libc/stdlib/getsubopt.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getsubopt .Nd get sub options from an argument +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Vt extern char *suboptarg diff --git a/lib/libc/stdlib/labs.3 b/lib/libc/stdlib/labs.3 index 88dfbd6..2bcb26a 100644 --- a/lib/libc/stdlib/labs.3 +++ b/lib/libc/stdlib/labs.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm labs .Nd return the absolute value of a long integer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft long diff --git a/lib/libc/stdlib/ldiv.3 b/lib/libc/stdlib/ldiv.3 index d3b65a8f..a0b6798 100644 --- a/lib/libc/stdlib/ldiv.3 +++ b/lib/libc/stdlib/ldiv.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm ldiv .Nd return quotient and remainder from division +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft ldiv_t diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index fe2500f..d903885 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm malloc, calloc, realloc, free, reallocf .Nd general purpose memory allocation functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void * diff --git a/lib/libc/stdlib/memory.3 b/lib/libc/stdlib/memory.3 index 4480338..e8944e1 100644 --- a/lib/libc/stdlib/memory.3 +++ b/lib/libc/stdlib/memory.3 @@ -42,6 +42,8 @@ .Nm calloc , .Nm alloca .Nd general memory allocation operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void * diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3 index 0351df2..15e1690 100644 --- a/lib/libc/stdlib/qsort.3 +++ b/lib/libc/stdlib/qsort.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm qsort, heapsort, mergesort .Nd sort functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void diff --git a/lib/libc/stdlib/radixsort.3 b/lib/libc/stdlib/radixsort.3 index 7212a2e..7ce7156 100644 --- a/lib/libc/stdlib/radixsort.3 +++ b/lib/libc/stdlib/radixsort.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm radixsort .Nd radix sort +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <limits.h> .Fd #include <stdlib.h> diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3 index 1330cc7..2690aa9 100644 --- a/lib/libc/stdlib/rand.3 +++ b/lib/libc/stdlib/rand.3 @@ -44,6 +44,8 @@ .Nm srand , .Nm rand_r .Nd bad random number generator +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft void diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 9cd2e0d..f128a50 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -42,6 +42,8 @@ .Nm initstate , .Nm setstate .Nd better random number generator; routines for changing generators +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft long diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index 5700ddf..9e50e7d 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -41,6 +41,8 @@ .Sh NAME .Nm realpath .Nd returns the canonicalized absolute pathname +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <stdlib.h> diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index aa8054f..f2df5b0 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -44,6 +44,8 @@ .Nd convert .Tn ASCII string to double +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft double diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index 898f657..1825730 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strtol, strtoq .Nd convert string value to a long or quad_t integer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Fd #include <limits.h> diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index a877ce2..a1ffae9 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strtoul, strtouq .Nd convert a string to an unsigned long or uquad_t integer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Fd #include <limits.h> diff --git a/lib/libc/stdlib/system.3 b/lib/libc/stdlib/system.3 index 218a459..b849f02 100644 --- a/lib/libc/stdlib/system.3 +++ b/lib/libc/stdlib/system.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm system .Nd pass a command to the shell +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index c8796b8..69cfb12 100644 --- a/lib/libc/stdtime/ctime.3 +++ b/lib/libc/stdtime/ctime.3 @@ -50,6 +50,8 @@ .Nm mktime , .Nm timegm .Nd transform binary date and time values +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Vt extern char *tzname[2]; diff --git a/lib/libc/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3 index 9b21843..daf5d38 100644 --- a/lib/libc/stdtime/strftime.3 +++ b/lib/libc/stdtime/strftime.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strftime .Nd format date and time +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft size_t diff --git a/lib/libc/stdtime/strptime.3 b/lib/libc/stdtime/strptime.3 index c93dc89..bab8954 100644 --- a/lib/libc/stdtime/strptime.3 +++ b/lib/libc/stdtime/strptime.3 @@ -31,6 +31,8 @@ .Sh NAME .Nm strptime .Nd parse date and time string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft char * diff --git a/lib/libc/stdtime/time2posix.3 b/lib/libc/stdtime/time2posix.3 index 7abd261..8930c31 100644 --- a/lib/libc/stdtime/time2posix.3 +++ b/lib/libc/stdtime/time2posix.3 @@ -7,6 +7,8 @@ .Nm time2posix , .Nm posix2time .Nd convert seconds since the Epoch +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft time_t diff --git a/lib/libc/string/bcmp.3 b/lib/libc/string/bcmp.3 index 808cf0d..4300d1f 100644 --- a/lib/libc/string/bcmp.3 +++ b/lib/libc/string/bcmp.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm bcmp .Nd compare byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/bcopy.3 b/lib/libc/string/bcopy.3 index 7d44916..54afedf 100644 --- a/lib/libc/string/bcopy.3 +++ b/lib/libc/string/bcopy.3 @@ -41,6 +41,8 @@ .Sh NAME .Nm bcopy .Nd copy byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void diff --git a/lib/libc/string/bstring.3 b/lib/libc/string/bstring.3 index a1c091f..c79eb94 100644 --- a/lib/libc/string/bstring.3 +++ b/lib/libc/string/bstring.3 @@ -48,6 +48,8 @@ .Nm memmove, .Nm memset .Nd byte string operations +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/bzero.3 b/lib/libc/string/bzero.3 index 78dd8c0..ca488fc 100644 --- a/lib/libc/string/bzero.3 +++ b/lib/libc/string/bzero.3 @@ -41,6 +41,8 @@ .Sh NAME .Nm bzero .Nd write zeroes to a byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3 index 2794a44..f8d8d6b 100644 --- a/lib/libc/string/ffs.3 +++ b/lib/libc/string/ffs.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm ffs .Nd find first bit set in a bit string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3 index 298101d..1ec56e6 100644 --- a/lib/libc/string/index.3 +++ b/lib/libc/string/index.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm index .Nd locate character in string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3 index 794486f..d74fc1a 100644 --- a/lib/libc/string/memccpy.3 +++ b/lib/libc/string/memccpy.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm memccpy .Nd copy string until character found +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void * diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3 index 2469d60..dbf5a1d 100644 --- a/lib/libc/string/memchr.3 +++ b/lib/libc/string/memchr.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm memchr .Nd locate byte in byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void * diff --git a/lib/libc/string/memcmp.3 b/lib/libc/string/memcmp.3 index 3939425..1f38f3a 100644 --- a/lib/libc/string/memcmp.3 +++ b/lib/libc/string/memcmp.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm memcmp .Nd compare byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/memcpy.3 b/lib/libc/string/memcpy.3 index 942c521..6b8ce30 100644 --- a/lib/libc/string/memcpy.3 +++ b/lib/libc/string/memcpy.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm memcpy .Nd copy byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void * diff --git a/lib/libc/string/memmove.3 b/lib/libc/string/memmove.3 index 7355600..71626f7 100644 --- a/lib/libc/string/memmove.3 +++ b/lib/libc/string/memmove.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm memmove .Nd copy byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void * diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3 index 9896514..6e78670 100644 --- a/lib/libc/string/memset.3 +++ b/lib/libc/string/memset.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm memset .Nd write a byte to byte string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void * diff --git a/lib/libc/string/rindex.3 b/lib/libc/string/rindex.3 index 7a5c478..0f9919c 100644 --- a/lib/libc/string/rindex.3 +++ b/lib/libc/string/rindex.3 @@ -40,6 +40,8 @@ .Sh NAME .Nm rindex .Nd locate character in string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strcasecmp.3 b/lib/libc/string/strcasecmp.3 index 4521a06..8c1b63a 100644 --- a/lib/libc/string/strcasecmp.3 +++ b/lib/libc/string/strcasecmp.3 @@ -41,6 +41,8 @@ .Nm strcasecmp , .Nm strncasecmp .Nd compare strings, ignoring case +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/strcat.3 b/lib/libc/string/strcat.3 index 1f0aad2..77fd0d27 100644 --- a/lib/libc/string/strcat.3 +++ b/lib/libc/string/strcat.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strcat .Nd concatenate strings +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strchr.3 b/lib/libc/string/strchr.3 index 8b5b892..bf864bf 100644 --- a/lib/libc/string/strchr.3 +++ b/lib/libc/string/strchr.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strchr .Nd locate character in string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3 index 45abbc4..22fe3d0 100644 --- a/lib/libc/string/strcmp.3 +++ b/lib/libc/string/strcmp.3 @@ -43,6 +43,8 @@ .Nm strcmp , .Nm strncmp .Nd compare strings +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/strcoll.3 b/lib/libc/string/strcoll.3 index 2d72fe3..b6d5c75 100644 --- a/lib/libc/string/strcoll.3 +++ b/lib/libc/string/strcoll.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strcoll .Nd compare strings according to current collation +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft int diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index 0ecb732..4c9212a 100644 --- a/lib/libc/string/strcpy.3 +++ b/lib/libc/string/strcpy.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strcpy .Nd copy strings +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strcspn.3 b/lib/libc/string/strcspn.3 index 6590cb5..0f36e3d 100644 --- a/lib/libc/string/strcspn.3 +++ b/lib/libc/string/strcspn.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strcspn .Nd span the complement of a string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft size_t diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3 index 53c1d39..a0139d3 100644 --- a/lib/libc/string/strdup.3 +++ b/lib/libc/string/strdup.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm strdup .Nd save a copy of a string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index a0f6b42..3149925 100644 --- a/lib/libc/string/strerror.3 +++ b/lib/libc/string/strerror.3 @@ -45,6 +45,8 @@ .Nm sys_errlist , .Nm sys_nerr .Nd system error messages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft void diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3 index 947a745..8a83a37 100644 --- a/lib/libc/string/string.3 +++ b/lib/libc/string/string.3 @@ -59,6 +59,8 @@ .Nm index , .Nm rindex .Nd string specific functions +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index e1dddee..7ae3443 100644 --- a/lib/libc/string/strlcpy.3 +++ b/lib/libc/string/strlcpy.3 @@ -34,6 +34,8 @@ .Nm strlcpy , .Nm strlcat .Nd size-bounded string copying and concatenation +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft size_t diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3 index 6514424..31e8ae1 100644 --- a/lib/libc/string/strlen.3 +++ b/lib/libc/string/strlen.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strlen .Nd find length of string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft size_t diff --git a/lib/libc/string/strmode.3 b/lib/libc/string/strmode.3 index ca9bbc1..4fffc92 100644 --- a/lib/libc/string/strmode.3 +++ b/lib/libc/string/strmode.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm strmode .Nd convert inode status information into a symbolic string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void diff --git a/lib/libc/string/strpbrk.3 b/lib/libc/string/strpbrk.3 index 2b5cf12..4a97ca3 100644 --- a/lib/libc/string/strpbrk.3 +++ b/lib/libc/string/strpbrk.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strpbrk .Nd locate multiple characters in string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strrchr.3 b/lib/libc/string/strrchr.3 index c44996a..c9d2698 100644 --- a/lib/libc/string/strrchr.3 +++ b/lib/libc/string/strrchr.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strrchr .Nd locate character in string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strsep.3 b/lib/libc/string/strsep.3 index f66d79e..45f5731 100644 --- a/lib/libc/string/strsep.3 +++ b/lib/libc/string/strsep.3 @@ -41,6 +41,8 @@ .Sh NAME .Nm strsep .Nd separate strings +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strspn.3 b/lib/libc/string/strspn.3 index a33abc7..bd71810 100644 --- a/lib/libc/string/strspn.3 +++ b/lib/libc/string/strspn.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strspn .Nd span a string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft size_t diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index dfd7ac2..39bb0da 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strstr .Nd locate a substring in a string +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3 index 26b3a1d..e496efb 100644 --- a/lib/libc/string/strtok.3 +++ b/lib/libc/string/strtok.3 @@ -56,6 +56,8 @@ .Sh NAME .Nm strtok, strtok_r .Nd string tokens +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft char * diff --git a/lib/libc/string/strxfrm.3 b/lib/libc/string/strxfrm.3 index 4c7e2fa..5e49658 100644 --- a/lib/libc/string/strxfrm.3 +++ b/lib/libc/string/strxfrm.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm strxfrm .Nd transform a string under locale +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft size_t diff --git a/lib/libc/string/swab.3 b/lib/libc/string/swab.3 index 7efc22f..02841f7 100644 --- a/lib/libc/string/swab.3 +++ b/lib/libc/string/swab.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm swab .Nd swap adjacent bytes +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <string.h> .Ft void diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2 index a7d282d..770672b 100644 --- a/lib/libc/sys/_exit.2 +++ b/lib/libc/sys/_exit.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm _exit .Nd terminate the calling process +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft void diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index e716261..9e932e8 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm accept .Nd accept a connection on a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2 index 9b1c036..0de57e1 100644 --- a/lib/libc/sys/access.2 +++ b/lib/libc/sys/access.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm access .Nd check access permissions of a file or pathname +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index e0d93ae..0dce177 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm acct .Nd enable or disable process accounting +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2 index 03f1b58..a5e1647 100644 --- a/lib/libc/sys/adjtime.2 +++ b/lib/libc/sys/adjtime.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm adjtime .Nd "correct the time to allow synchronization of the system clock" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Ft int diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2 index edec2e9..99d5138 100644 --- a/lib/libc/sys/aio_cancel.2 +++ b/lib/libc/sys/aio_cancel.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_cancel .Nd cancel an outstanding asynchronous I/O operation (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2 index ea93237..46d7b19 100644 --- a/lib/libc/sys/aio_error.2 +++ b/lib/libc/sys/aio_error.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_error .Nd retrieve error status of asynchronous I/O operation (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 index 438b647..42386cd 100644 --- a/lib/libc/sys/aio_read.2 +++ b/lib/libc/sys/aio_read.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_read .Nd asynchronous read from a file (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Fd #include <aio.h> diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 7f70fc3..532269f 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_return .Nd retrieve return status of asynchronous I/O operation (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 index 908492b..719559b 100644 --- a/lib/libc/sys/aio_suspend.2 +++ b/lib/libc/sys/aio_suspend.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_suspend .Nd suspend until asynchronous I/O operations or timeout complete (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2 index 897c6f9..2362d0d 100644 --- a/lib/libc/sys/aio_waitcomplete.2 +++ b/lib/libc/sys/aio_waitcomplete.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_waitcomplete .Nd wait for the next completion of an aio request +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2 index 8e55423..c6f1706 100644 --- a/lib/libc/sys/aio_write.2 +++ b/lib/libc/sys/aio_write.2 @@ -30,6 +30,8 @@ .Sh NAME .Nm aio_write .Nd asynchronous write to a file (REALTIME) +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <aio.h> .Ft int diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index 316ed18..9cb99f7 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm bind .Nd assign a local protocol address to a socket. +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index 4db6072..c8dd4e1 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -39,6 +39,8 @@ .Nm brk , .Nm sbrk .Nd change data segment size +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/sys/chdir.2 b/lib/libc/sys/chdir.2 index 51622f8..d6ca532 100644 --- a/lib/libc/sys/chdir.2 +++ b/lib/libc/sys/chdir.2 @@ -39,6 +39,8 @@ .Nm chdir , .Nm fchdir .Nd change current working directory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index 9325686..e2425ee 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -39,6 +39,8 @@ .Nm chflags , .Nm fchflags .Nd set file flags +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/stat.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index 87e0098..e8edf59 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -40,6 +40,8 @@ .Nm fchmod , .Nm lchmod .Nd change mode of file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/stat.h> .Ft int @@ -106,7 +108,7 @@ defined in .Ed .Pp The -.Tn FreeBSD +.Fx VM system totally ignores the sticky bit .Pf ( Dv ISVTX ) for executables. On UFS-based filesystems (FFS, MFS, LFS) the sticky diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 6411045..4ce976c 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -40,6 +40,8 @@ .Nm fchown , .Nm lchown .Nd change owner and group of a file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index 7f1a866..2cdb45e 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm chroot .Nd change root directory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 4e0dd55..9ed1200 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -40,6 +40,8 @@ .Nm clock_settime , .Nm clock_getres .Nd get/set/calibrate date and time +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Ft int diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 4a478e4..ce86892 100644 --- a/lib/libc/sys/close.2 +++ b/lib/libc/sys/close.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm close .Nd delete a descriptor +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index 8885e72..373fa0f 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm connect .Nd initiate a connection on a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2 index 6f86325..a73e554 100644 --- a/lib/libc/sys/dup.2 +++ b/lib/libc/sys/dup.2 @@ -39,6 +39,8 @@ .Nm dup , .Nm dup2 .Nd duplicate an existing file descriptor +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 3e35f42..bfec668 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm execve .Nd execute a file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index ee38c33..7e6b31d 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm fcntl .Nd file control +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <fcntl.h> .Ft int diff --git a/lib/libc/sys/fhopen.2 b/lib/libc/sys/fhopen.2 index d82e26f..75af67f 100644 --- a/lib/libc/sys/fhopen.2 +++ b/lib/libc/sys/fhopen.2 @@ -40,6 +40,8 @@ .Nm fhstat , .Nm fhstatfs .Nd access file via file handle +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index 4d3fb06..d7cdc8a 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm flock .Nd "apply or remove an advisory lock on an open file" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/file.h> .Fd #define LOCK_SH 0x01 /* shared file lock */ diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2 index d01e600..62ce4286 100644 --- a/lib/libc/sys/fork.2 +++ b/lib/libc/sys/fork.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm fork .Nd create a new process +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2 index a83ebcb..1814058 100644 --- a/lib/libc/sys/fsync.2 +++ b/lib/libc/sys/fsync.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm fsync .Nd "synchronize a file's in-core state with that on disk" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index a3ca671..f00bf94 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -39,6 +39,8 @@ .Nm getdirentries , .Nm getdents .Nd "get directory entries in a filesystem independent format" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <dirent.h> diff --git a/lib/libc/sys/getdtablesize.2 b/lib/libc/sys/getdtablesize.2 index a41980c..0254456 100644 --- a/lib/libc/sys/getdtablesize.2 +++ b/lib/libc/sys/getdtablesize.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getdtablesize .Nd get descriptor table size +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2 index e64babf..d3f7888 100644 --- a/lib/libc/sys/getfh.2 +++ b/lib/libc/sys/getfh.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getfh .Nd get file handle +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2 index 3dc87bc..c9d1bd5 100644 --- a/lib/libc/sys/getfsstat.2 +++ b/lib/libc/sys/getfsstat.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getfsstat .Nd get list of all mounted filesystems +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/ucred.h> diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2 index d9c4db4..aaaf72b 100644 --- a/lib/libc/sys/getgid.2 +++ b/lib/libc/sys/getgid.2 @@ -39,6 +39,8 @@ .Nm getgid , .Nm getegid .Nd get group process identification +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2 index ab1d029..3ae5242 100644 --- a/lib/libc/sys/getgroups.2 +++ b/lib/libc/sys/getgroups.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getgroups .Nd get group access list +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index b60349a..b16cbff 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -39,6 +39,8 @@ .Nm getitimer , .Nm setitimer .Nd get/set value of interval timer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Fd #define ITIMER_REAL 0 diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2 index 122431d5..cd12b3c 100644 --- a/lib/libc/sys/getlogin.2 +++ b/lib/libc/sys/getlogin.2 @@ -40,6 +40,8 @@ .Nm getlogin_r , .Nm setlogin .Nd get/set login name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft char * diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 109d195..71a93f9 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getpeername .Nd get name of connected peer +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2 index 9f5ba3e..8e56708 100644 --- a/lib/libc/sys/getpgrp.2 +++ b/lib/libc/sys/getpgrp.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getpgrp .Nd get process group +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft pid_t diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2 index 5a282b1..1d94d82 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -39,6 +39,8 @@ .Nm getpid , .Nm getppid .Nd get parent or calling process identification +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2 index 3a6eee4..1047cf7 100644 --- a/lib/libc/sys/getpriority.2 +++ b/lib/libc/sys/getpriority.2 @@ -39,6 +39,8 @@ .Nm getpriority , .Nm setpriority .Nd get/set program scheduling priority +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Fd #include <sys/resource.h> diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index eebb874..4f67802 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -39,6 +39,8 @@ .Nm getrlimit , .Nm setrlimit .Nd control maximum system resource consumption +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/time.h> diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2 index dcbda2d..b972c9e 100644 --- a/lib/libc/sys/getrusage.2 +++ b/lib/libc/sys/getrusage.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getrusage .Nd get information about resource utilization +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/time.h> diff --git a/lib/libc/sys/getsid.2 b/lib/libc/sys/getsid.2 index 4a7f13e..69b8813 100644 --- a/lib/libc/sys/getsid.2 +++ b/lib/libc/sys/getsid.2 @@ -29,6 +29,8 @@ .Sh NAME .Nm getsid .Nd get process session +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft pid_t diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index 9355596..e13c5e0 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm getsockname .Nd get socket name +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index db1f834..2066108 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -39,6 +39,8 @@ .Nm getsockopt , .Nm setsockopt .Nd get and set options on sockets +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index cb385a4..f421d1d 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -39,6 +39,8 @@ .Nm gettimeofday , .Nm settimeofday .Nd get/set date and time +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Ft int diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2 index ae6c946..01e464c 100644 --- a/lib/libc/sys/getuid.2 +++ b/lib/libc/sys/getuid.2 @@ -39,6 +39,8 @@ .Nm getuid , .Nm geteuid .Nd get user identification +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Fd #include <sys/types.h> diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index ec42786..5be9768 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm intro .Nd introduction to system calls and error numbers +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <errno.h> .Sh DESCRIPTION diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 703e1ee..758e97e 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -39,6 +39,8 @@ .Sh NAME .Nm ioctl .Nd control device +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/ioctl.h> .Ft int diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2 index 91adf6c..dd107a2 100644 --- a/lib/libc/sys/issetugid.2 +++ b/lib/libc/sys/issetugid.2 @@ -39,6 +39,8 @@ .Sh NAME .Nm issetugid .Nd is current process tainted by uid or gid changes +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index d847cd7..36d5592 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -14,6 +14,8 @@ .Sh NAME .Nm jail .Nd Imprison current process and future decendants. +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/jail.h> diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index c8667d8..d8346dc 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm kill .Nd send signal to a process +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <signal.h> diff --git a/lib/libc/sys/kldfind.2 b/lib/libc/sys/kldfind.2 index 96be122..f796126 100644 --- a/lib/libc/sys/kldfind.2 +++ b/lib/libc/sys/kldfind.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm kldfind .Nd returns the fileid of a kld file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/kldfirstmod.2 b/lib/libc/sys/kldfirstmod.2 index 29e43d6..ed9059b 100644 --- a/lib/libc/sys/kldfirstmod.2 +++ b/lib/libc/sys/kldfirstmod.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm kldfirstmod .Nd "return first module id from the kld file specified" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/kldload.2 b/lib/libc/sys/kldload.2 index 7a2f9a1..5772390 100644 --- a/lib/libc/sys/kldload.2 +++ b/lib/libc/sys/kldload.2 @@ -32,6 +32,8 @@ .Sh NAME .Nm kldload .Nd load KLD files into the kernel +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/kldnext.2 b/lib/libc/sys/kldnext.2 index 9e73564..13be49f 100644 --- a/lib/libc/sys/kldnext.2 +++ b/lib/libc/sys/kldnext.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm kldnext .Nd return the fileid of the next kld file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2 index bc9adb3..f1f05c2 100644 --- a/lib/libc/sys/kldstat.2 +++ b/lib/libc/sys/kldstat.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm kldstat .Nd get status of kld file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2 index fd803e7..cbb5023 100644 --- a/lib/libc/sys/kldunload.2 +++ b/lib/libc/sys/kldunload.2 @@ -32,6 +32,8 @@ .Sh NAME .Nm kldunload .Nd unload kld files +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/linker.h> diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 9b25bdb..096a3bd 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm ktrace .Nd process tracing +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/time.h> diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index a1b6d4b..53cc873 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm link .Nd make a hard file link +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index 4f87434..1680693 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm listen .Nd listen for connections on a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index 83ed0cd..ab67c56 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm lseek .Nd reposition read/write file offset +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft off_t diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 1f8aec0..711bb27 100644 --- a/lib/libc/sys/madvise.2 +++ b/lib/libc/sys/madvise.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm madvise .Nd give advice about use of memory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/mincore.2 b/lib/libc/sys/mincore.2 index 533c153..3f6ce3f 100644 --- a/lib/libc/sys/mincore.2 +++ b/lib/libc/sys/mincore.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mincore .Nd get advice about use of memory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2 index 66dbb0b..a0ca0ef 100644 --- a/lib/libc/sys/minherit.2 +++ b/lib/libc/sys/minherit.2 @@ -39,6 +39,8 @@ .Sh NAME .Nm minherit .Nd control the inheritance of pages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2 index c2d8835..b45cb62 100644 --- a/lib/libc/sys/mkdir.2 +++ b/lib/libc/sys/mkdir.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mkdir .Nd make a directory file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/stat.h> diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2 index 36ab734..4ecf4eb 100644 --- a/lib/libc/sys/mkfifo.2 +++ b/lib/libc/sys/mkfifo.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mkfifo .Nd make a fifo file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/stat.h> diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index 90287b2..0910bee 100644 --- a/lib/libc/sys/mknod.2 +++ b/lib/libc/sys/mknod.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mknod .Nd make a special file node +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index b5706b0..ea31281 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -39,6 +39,8 @@ .Nm mlock , .Nm munlock .Nd lock (unlock) physical pages in memory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index cffccf8..0026fbf 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mmap .Nd map files or devices into memory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index d4959ed..2264163 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -39,6 +39,8 @@ .Nm mount , .Nm unmount .Nd mount or dismount a filesystem +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index 533b1fe..4403dc5 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm mprotect .Nd control the protection of pages +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2 index d0b5345..ae4b2e9 100644 --- a/lib/libc/sys/msync.2 +++ b/lib/libc/sys/msync.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm msync .Nd synchronize a mapped region +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index e2c89bf..264e13f 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm munmap .Nd remove a mapping +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/mman.h> diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index fe39fd7..f272a9d 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -41,6 +41,8 @@ .Sh NAME .Nm nanosleep .Nd suspend process execution for an interval measured in nanoseconds +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <time.h> .Ft int diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index 90604bc..ddf219f 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm nfssvc .Nd NFS services +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 7af4dec..439b4b48e 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm open .Nd open or create a file for reading or writing +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <fcntl.h> .Ft int diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index 8631648..3f5e1cb 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -39,6 +39,8 @@ .Nm pathconf , .Nm fpathconf .Nd get configurable pathname variables +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft long diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2 index 98f53aa..2ddc2d5 100644 --- a/lib/libc/sys/pipe.2 +++ b/lib/libc/sys/pipe.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm pipe .Nd create descriptor pair for interprocess communication +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index ea5b270..0c8986f 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -34,6 +34,8 @@ .Sh NAME .Nm poll .Nd synchronous I/O multiplexing +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <poll.h> diff --git a/lib/libc/sys/profil.2 b/lib/libc/sys/profil.2 index a629803..568d257 100644 --- a/lib/libc/sys/profil.2 +++ b/lib/libc/sys/profil.2 @@ -41,6 +41,8 @@ .Sh NAME .Nm profil .Nd control process profiling +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 551f41d..55b884d 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -8,6 +8,8 @@ .Sh NAME .Nm ptrace .Nd process tracing and debugging +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ptrace.h> diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index a98cb1c..a605850 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -41,6 +41,8 @@ .Sh NAME .Nm quotactl .Nd manipulate filesystem quotas +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <ufs/ufs/quota.h> diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 16fe7284..981c336 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -40,6 +40,8 @@ .Nm readv , .Nm pread .Nd read input +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/uio.h> diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2 index b395dc1..e7b2a27 100644 --- a/lib/libc/sys/readlink.2 +++ b/lib/libc/sys/readlink.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm readlink .Nd read value of a symbolic link +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index 85a6717..891709d 100644 --- a/lib/libc/sys/reboot.2 +++ b/lib/libc/sys/reboot.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm reboot .Nd reboot system or halt processor +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Fd #include <sys/reboot.h> diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index bf73dd5..29d4c4a 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -40,6 +40,8 @@ .Nm recvfrom , .Nm recvmsg .Nd receive a message from a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index cce01d6..df18991 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm rename .Nd change the name of a file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> .Ft int diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2 index cafdf89..d89d50c 100644 --- a/lib/libc/sys/revoke.2 +++ b/lib/libc/sys/revoke.2 @@ -41,6 +41,8 @@ .Sh NAME .Nm revoke .Nd revoke file access +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2 index b9b5aa7..852d297 100644 --- a/lib/libc/sys/rfork.2 +++ b/lib/libc/sys/rfork.2 @@ -11,6 +11,8 @@ .Sh NAME .Nm rfork .Nd manipulate process resources +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2 index d618287..d044e43 100644 --- a/lib/libc/sys/rmdir.2 +++ b/lib/libc/sys/rmdir.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm rmdir .Nd remove a directory file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index 3ee2a91..31480a2 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -34,6 +34,8 @@ .Sh NAME .Nm rtprio .Nd examine or modify a process realtime or idle priority +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/rtprio.h> diff --git a/lib/libc/sys/sched_get_priority_max.2 b/lib/libc/sys/sched_get_priority_max.2 index 185f561..ff76420 100644 --- a/lib/libc/sys/sched_get_priority_max.2 +++ b/lib/libc/sys/sched_get_priority_max.2 @@ -31,6 +31,8 @@ .Nm sched_get_priority_min , .Nm sched_rr_get_interval .Nd Get scheduling parameter limits +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sched.h> .Ft int diff --git a/lib/libc/sys/sched_setparam.2 b/lib/libc/sys/sched_setparam.2 index b627e69..732cd95 100644 --- a/lib/libc/sys/sched_setparam.2 +++ b/lib/libc/sys/sched_setparam.2 @@ -30,6 +30,8 @@ .Nm sched_setparam , .Nm sched_getparam .Nd set/get scheduling parameters +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sched.h> .Ft int diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2 index 94d9f57..1ee37e0 100644 --- a/lib/libc/sys/sched_setscheduler.2 +++ b/lib/libc/sys/sched_setscheduler.2 @@ -30,6 +30,8 @@ .Nm sched_setscheduler , .Nm sched_getscheduler .Nd set/get scheduling policy and scheduler parameters +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sched.h> .Ft int diff --git a/lib/libc/sys/sched_yield.2 b/lib/libc/sys/sched_yield.2 index 28ac9cc..5adf7ad 100644 --- a/lib/libc/sys/sched_yield.2 +++ b/lib/libc/sys/sched_yield.2 @@ -29,6 +29,8 @@ .Sh NAME .Nm sched_yield .Nd yield processor +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sched.h> .Ft int diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2 index b320099..70d679b 100644 --- a/lib/libc/sys/select.2 +++ b/lib/libc/sys/select.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm select .Nd synchronous I/O multiplexing +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/time.h> diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 1983f86..8184c09 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm semctl .Nd control operations on a semaphore set +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index edb0c87..f8175a4 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm semget .Nd obtain a semaphore id +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index abae921..19a91a8 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm semop .Nd atomic array of operations on a semaphore set +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index 327307c..ebfd296 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -40,6 +40,8 @@ .Nm sendto , .Nm sendmsg .Nd send a message from a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2 index 254f1630..878a3ad 100644 --- a/lib/libc/sys/sendfile.2 +++ b/lib/libc/sys/sendfile.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm sendfile .Nd send a file to a socket +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2 index f11cbd56..43726bb 100644 --- a/lib/libc/sys/setgroups.2 +++ b/lib/libc/sys/setgroups.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm setgroups .Nd set group access list +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 19af6f7..24526de 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -39,6 +39,8 @@ .Nm setpgid , .Nm setpgrp .Nd set process group +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2 index 1802e6e..1a4e567 100644 --- a/lib/libc/sys/setregid.2 +++ b/lib/libc/sys/setregid.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm setregid .Nd set real and effective group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2 index 988127e..f592dc9 100644 --- a/lib/libc/sys/setresuid.2 +++ b/lib/libc/sys/setresuid.2 @@ -26,6 +26,8 @@ .Nm setresgid , .Nm setresuid .Nd set real, effective and saved user or group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2 index 32d35ee..b7e933d 100644 --- a/lib/libc/sys/setreuid.2 +++ b/lib/libc/sys/setreuid.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm setreuid .Nd set real and effective user ID's +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2 index 631cc13..0fffc8b 100644 --- a/lib/libc/sys/setsid.2 +++ b/lib/libc/sys/setsid.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm setsid .Nd create session and set process group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft pid_t diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2 index 0fc6890..5edbbd7 100644 --- a/lib/libc/sys/setuid.2 +++ b/lib/libc/sys/setuid.2 @@ -41,6 +41,8 @@ .Nm setgid , .Nm setegid , .Nd set user and group ID +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 331a4c9..01cbc53 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -32,6 +32,8 @@ .Nm shmat , .Nm shmdt .Nd attach or detach shared memory +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/param.h> .Fd #include <sys/types.h> diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index e24d226..22b08ff 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm shmctl .Nd shared memory control +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/param.h> .Fd #include <sys/types.h> diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index db5917f..a09099c 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -31,6 +31,8 @@ .Sh NAME .Nm shmget .Nd obtain a shared memory identifier +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/param.h> .Fd #include <sys/types.h> diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index b35a55d..51db758 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm shutdown .Nd shut down part of a full-duplex connection +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index efddfc5..e1ef9ff 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigaction .Nd software signal facilities +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Bd -literal diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index d16612c..f927034 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigaltstack .Nd set and/or get signal stack context +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Bd -literal diff --git a/lib/libc/sys/sigpending.2 b/lib/libc/sys/sigpending.2 index 481bd19..c9d2896 100644 --- a/lib/libc/sys/sigpending.2 +++ b/lib/libc/sys/sigpending.2 @@ -41,6 +41,8 @@ .Sh NAME .Nm sigpending .Nd get pending signals +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2 index 8f58f96..55e2451 100644 --- a/lib/libc/sys/sigprocmask.2 +++ b/lib/libc/sys/sigprocmask.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigprocmask .Nd manipulate current signal mask +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2 index f00e464..0aeaf8e 100644 --- a/lib/libc/sys/sigreturn.2 +++ b/lib/libc/sys/sigreturn.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigreturn .Nd return from signal +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Pp diff --git a/lib/libc/sys/sigstack.2 b/lib/libc/sys/sigstack.2 index 404fc3e..4726fd9 100644 --- a/lib/libc/sys/sigstack.2 +++ b/lib/libc/sys/sigstack.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigstack .Nd set and/or get signal stack context +.Sh LIBRARY +.Lb libc .Sh DESCRIPTION The .Fn sigstack diff --git a/lib/libc/sys/sigsuspend.2 b/lib/libc/sys/sigsuspend.2 index c3e36ad..85ace2e 100644 --- a/lib/libc/sys/sigsuspend.2 +++ b/lib/libc/sys/sigsuspend.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sigsuspend .Nd atomically release blocked signals and wait for interrupt +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <signal.h> .Ft int diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 7fbe976..2207580 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm socket .Nd create an endpoint for communication +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2 index bf4e842..c56348c 100644 --- a/lib/libc/sys/socketpair.2 +++ b/lib/libc/sys/socketpair.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm socketpair .Nd create a pair of connected sockets +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/socket.h> diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 5617c36..b1cb56c 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -40,6 +40,8 @@ .Nm lstat , .Nm fstat .Nd get file status +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/stat.h> diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index e1ccb69..f18d0c7 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm statfs .Nd get file system statistics +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/param.h> .Fd #include <sys/mount.h> diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index 0ab908c..4ab239d 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm swapon .Nd add a swap device for interleaved paging/swapping +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index f88a309..0f4779d 100644 --- a/lib/libc/sys/symlink.2 +++ b/lib/libc/sys/symlink.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm symlink .Nd make symbolic link to a file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/sync.2 b/lib/libc/sys/sync.2 index 68acbb9..1c23e6a 100644 --- a/lib/libc/sys/sync.2 +++ b/lib/libc/sys/sync.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm sync .Nd "synchronize disk block in-core status with that on disk" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft void diff --git a/lib/libc/sys/sysarch.2 b/lib/libc/sys/sysarch.2 index c3840e9..e3c9c22 100644 --- a/lib/libc/sys/sysarch.2 +++ b/lib/libc/sys/sysarch.2 @@ -40,6 +40,8 @@ .Sh NAME .Nm sysarch .Nd architecture-dependent system call +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <machine/sysarch.h> .Ft int diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2 index c5192fb..f30e2ff 100644 --- a/lib/libc/sys/syscall.2 +++ b/lib/libc/sys/syscall.2 @@ -39,6 +39,8 @@ .Nm syscall , .Nm __syscall .Nd indirect system call +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/syscall.h> .Fd #include <unistd.h> diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index ce17ff2..010e4bb 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -39,6 +39,8 @@ .Nm truncate , .Nm ftruncate .Nd truncate or extend a file to a specified length +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/umask.2 b/lib/libc/sys/umask.2 index aaeaaa5..eb6064e 100644 --- a/lib/libc/sys/umask.2 +++ b/lib/libc/sys/umask.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm umask .Nd set file creation mode mask +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/stat.h> .Ft mode_t diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2 index b95a3a6..3e66439 100644 --- a/lib/libc/sys/undelete.2 +++ b/lib/libc/sys/undelete.2 @@ -39,6 +39,8 @@ .Sh NAME .Nm undelete .Nd attempt to recover a deleted file +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 874a001..96054a6 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm unlink .Nd remove directory entry +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index ea04d85..fdf893f 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -42,6 +42,8 @@ .Nm lutimes , .Nm futimes .Nd set file access and modification times +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> .Ft int diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2 index 7363c55..e44d955 100644 --- a/lib/libc/sys/vfork.2 +++ b/lib/libc/sys/vfork.2 @@ -38,6 +38,8 @@ .Sh NAME .Nm vfork .Nd spawn new process in a virtual memory efficient way +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 5cbd812..c841d33 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -41,6 +41,8 @@ .Nm wait4 , .Nm wait3 .Nd wait for process termination +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/wait.h> diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index 0f4693f..9bde7fa 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -40,6 +40,8 @@ .Nm writev , .Nm pwrite .Nd write output +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/uio.h> |