diff options
Diffstat (limited to 'lib')
363 files changed, 727 insertions, 1 deletions
diff --git a/lib/libc/compat-43/creat.2 b/lib/libc/compat-43/creat.2 index 7e9f099aa121..1ec50b0d4347 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 df3644cfa222..0758be0730dc 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 365ab4b78c21..68e5e18f01a9 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 843a59f474cf..3c485276e9a8 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 f7809b8f3d70..812c99c4d9ae 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 166fda301a6e..619406b29269 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 f5412f1961cb..60a45d64ecec 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 f144efa34c4b..0674ccdcf425 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 02651808d258..572110b57c84 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 e83bb476cdb2..a3c54b854588 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 1d0f8fa8c822..72f2b045a8ff 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 6ba8e7c857bf..6530f16ffde0 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 3b1668fead23..69632e048489 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 fa423d6b8d50..c220f22e1ba8 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 2030125efcc7..b63d6c99996f 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 6334d384ae21..02033cdb2354 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 9938a7a7107c..36c58865f254 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 5597c007cf05..7ee09aa7ed4a 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 6485e750817f..66fa095654da 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 468fd1ff3bf5..d13525ab924a 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 8da1247adcfd..11717ef86556 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 8b556b59fcfe..0f49e137d2f9 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 f2a6b5c9f8d7..3b71079aed7e 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 611bf3048f9a..cd7da7a0a5d9 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 ba21c89eb2ec..9cac9513692e 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 1ad2b8eb81a6..cf4e0dbefefb 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 00b09c652ce1..55b6f3f04563 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 43d96850b656..26b33bb2c371 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 357fdf3fb31a..8faa4a4e9589 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 14d88241ea3e..62036f3c2906 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 60a8099a2328..a58dc2e9018a 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 98064fcea699..75e3596e8629 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 ffac782ade83..bb3f56064baf 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 e85eaa552ad2..ae5b28a604ef 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 f4d2d04055bc..f8ff9747c6ba 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 737f699fe79d..14479f49fdd5 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 f1a7fa5f042a..16abf6299d98 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 db8f550f2ba7..3258df66c4a6 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 3862d82a2b99..4d6c59579a49 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 549cfe7426b2..5fd90df3320a 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 4fe263613a44..80451304cb94 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 d925055505b1..40842897e0ab 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 ab3ff1d6bed3..cc108e671892 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 8541762a4859..068c5d9d96ec 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 c33fbea7da85..41167bda1fba 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 127e0f345771..67862b5661a9 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 d99dc9fa5202..aae4d2b4165e 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 5ed1e06cf2c3..f48548e04fe4 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 a60bc4e87f7a..ee7558a1a804 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 8a0ffef789d2..e340d0fd31fb 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 fe877bd90f85..1ca4612bcb44 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 c2941a840e0c..e1a811773709 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 e95284cab3c2..9e446fa8481d 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 f68cd8afcb4a..20e740127012 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 846ac6fec88f..21c9c3e87827 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 2ede1837796d..9d445d51b18c 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 d61ec2ec8963..d464a4d69633 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 69add4af889b..96ba25cc7b60 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 e48bc8ead26e..c8315dd76b17 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 53004c05d0da..bfb635093854 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 aad4133081be..3867a32f0b57 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 d5f08a2e9e3d..7c20d94fa9ba 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 556ad2ad9a4d..793759e117e8 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 a6b2eefe9d8d..b7ba681d0126 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 afcde28ea5a9..db74d3bd8be3 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 09c6208c3b08..b4461ac2c3c5 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 09c6208c3b08..b4461ac2c3c5 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 779239cab525..54b6c598ece7 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 20a26fefcb46..2ea5d80a4a09 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 ffce99ca336f..4c3873299566 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 589331f43c48..96630764abff 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 a32daf68cf80..d50da00b41b7 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 e59aad5113b9..ea178d3cd5a5 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 21fb2db59968..e42706b18add 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 09c6208c3b08..b4461ac2c3c5 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 e18c045c26cf..102a3e3ad71a 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 bcf42854b8ca..5123cd7a49af 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 550ce5b3378c..13d1d192af05 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 7a026b78eff9..d04f08451ac3 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 6b5f754ac235..4d282cf4adfd 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 b5c6fd9f04cd..d2bf5001f47b 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 3da2cd14c3a4..4f4b48b6c02e 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 71c198246abc..103a4ed041e8 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 b971e2d39c78..12bd83082e30 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 7468aa419fbb..8e7c05f4ccad 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 5e7bb4eac92f..e09bd6aeeaf1 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 853a1da7de12..d76e4355a61f 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 bbf9457fdfd9..b42021e545cc 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 6a3aef6d970f..2c72472635ab 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 16734d13b37d..f5bb169168dd 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 77d625965a3a..dddc856785af 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 b8d66fd0dafb..bee33bef51eb 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 e97d1f3cd18a..25ce1317db89 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 e8860b091145..88d5b5236533 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 f608f8fbce31..03597528e2b5 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 2d326b88fc7d..f433c5bf8d88 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 fce57b65c853..01ab02acc5f2 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 4dc0d52adbe3..ad3e218046b2 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 ba7143bbdeec..f64c19ba627c 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 12f56cabcc63..08a7e1b89736 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 4f7e3f990f28..0d0cd2d0b326 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 b37f89b0fb4f..be2bb0883ad1 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 47fbf25dca76..e40a48dffee9 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 301e02898f93..cd7d17e95056 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 142e1c38e4ce..03cb69b7004e 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 94d5c3b7b775..b557a0f5af7f 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 acefb2143172..a93a1e8a7abf 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 c5e46dabe539..4505b42703cb 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 90374ced2079..866a1305bfa9 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 1e7674aee3cb..6a1a73e964d1 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 dd9623869d7b..ad3f36b407ab 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 11a7b35c2cc8..a33b48cb398a 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 5c9d53b2e3be..1e68ae59eb6d 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 fd0c19f4b059..cf4093c5ba12 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 a479e33c1c8c..b6fb142870cd 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 475003416288..2bd565cbc2e2 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 6fc26f97ad88..168da1e49ecb 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 dfb7c2510df4..6b81d0beafbe 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 28bc027f3587..64834ab44dc8 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 b5ec16799f8e..e91b1d9b89d0 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 3c55d21c18a6..a38ba8205ef7 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 72b7488fbe2d..1c1fb2652c62 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 754a79673453..fd4b6d154b13 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 1b48c4a4153f..e513d741faf2 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 d5a881ae7cf4..bb2040636451 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 732af8eae3f1..4496633cfc47 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 1bf3664ee3d1..086f4c3de9a7 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 fad937e9607c..22dba9ccc251 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 eac236161836..f7c1dcb8ddda 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 0906ee01f749..612ae1b24714 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 f9941fc1d7df..2c7069de39e7 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 6fd71b6def28..6c0e365b35f5 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 5f0845e5792c..5ea8e63c3482 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 ad4977800bdb..7a86f631b8f5 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 543e04019b15..9dd9e2edb187 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 6e697f9d4254..3da412746c9e 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 c16cddfff2b3..0287d349e5f8 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 4e715859925d..e1f366562ee0 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 fcdecc5664c4..d62aa13a5b81 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 9359e5fc69c9..b55d70858d17 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 53b4ee81531e..45af7ca3c879 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 9850c8bf2a16..16cec8b107b0 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 c6850c95d9d1..d79686d460e4 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 0b0ed431fcd9..2869221b3b25 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 17c09e70c13e..a0c6c0323518 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 9b4d4ef5251a..76518b6f0b44 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 0b767295cb39..9c10ed1880f2 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 75ba73dd8bef..63361106b8fb 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 5fc67a2fd0ad..16e7da3d8d97 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 fd6ff9ff3d8e..44c255a6de53 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 b3cf808a9b9e..ad1d9d76681f 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 b0fde0dd2b05..b6e32efe5c42 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 9b92d4a32384..03024c242869 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 f72c10c3ffa0..088e9e38a13b 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 6de85c120959..bb82d582de9a 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 e9b380bcf325..4f2c5c4789d9 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 f6be01805b1f..cae4c04782d0 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 1626bc1c94a9..7b1b63dc3319 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 345a08338f39..f623ec7b6968 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 423898c88d63..3a14e9c24cb0 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 cc67589f310b..2fec98b6b6d3 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 02f369ea8e69..1707e4570aec 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 85a89ff83e90..13ee3206f7e7 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 e3edce8d4158..0480a0ba7594 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 1ba69fb30f3d..6c490549765f 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 d09bceea189f..64546cf99f21 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 8292c912bbb5..dbc3d6130f42 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 0165f609885f..06b912cd0721 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 6a7c06f976b1..3f645a3e7e16 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 f596aa3122a5..acc2cbfed432 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 15531f9143ee..abde0eb542fa 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 aff0d7d1b1ff..752552d8f7b7 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 43758e3b96c3..ec504fec91ba 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 62898dc4c1a9..550cfb377d8d 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 88dfbd6a8fc0..2bcb26aba695 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 d3b65a8fff8b..a0b6798e9ac9 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 fe2500f9a7be..d90388543819 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 4480338f14e8..e8944e179ef8 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 0351df2bbba3..15e1690905ac 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 7212a2e73401..7ce7156539ca 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 1330cc76b1ae..2690aa98d2e3 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 9cd2e0dc80ca..f128a50f38c9 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 5700ddfb94e0..9e50e7d612e3 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 aa8054f59b7a..f2df5b0cc212 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 898f6573b607..1825730dac2d 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 a877ce20c0b1..a1ffae97a06c 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 218a459ee352..b849f02f675d 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 c8796b87c510..69cfb12c5f76 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 9b2184348c8f..daf5d388b690 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 c93dc8994fee..bab8954e8d59 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 7abd2610c95e..8930c319ad77 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 808cf0db0d0b..4300d1f930b5 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 7d44916ef796..54afedf4a196 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 a1c091fa52b5..c79eb94a3172 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 78dd8c0bb2df..ca488fc9423d 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 2794a441e566..f8d8d6b925b2 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 298101d5415c..1ec56e6bbd08 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 794486fee9db..d74fc1ac8f8a 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 2469d60c5cbf..dbf5a1d47c49 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 3939425df127..1f38f3ac6705 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 942c52178c57..6b8ce3059afc 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 73556009d321..71626f7890e4 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 9896514cc9e0..6e786700c84f 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 7a5c478dfb27..0f9919ce29b7 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 4521a068681a..8c1b63a85833 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 1f0aad2a92d7..77fd0d275d67 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 8b5b892a7def..bf864bfd2513 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 45abbc43827a..22fe3d0370e5 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 2d72fe3a5224..b6d5c75ca182 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 0ecb732aedad..4c9212a6c9e8 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 6590cb57f4ed..0f36e3d952e8 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 53c1d39bf3b2..a0139d3f8570 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 a0f6b42f60a6..31499259d2d7 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 947a745377a7..8a83a3732cb8 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 e1dddee77393..7ae3443e703a 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 6514424de53f..31e8ae171def 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 ca9bbc167a4c..4fffc925c1b6 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 2b5cf127530a..4a97ca3af46e 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 c44996acfb9e..c9d26980fd6d 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 f66d79e28f75..45f5731a7321 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 a33abc79dc93..bd7181060374 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 dfd7ac21589a..39bb0dae27a8 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 26b3a1dfba7c..e496efb58548 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 4c7e2fae1d2c..5e496587289e 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 7efc22f8bfbb..02841f7e5401 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 a7d282d6f504..770672b4fa1d 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 e71626146f05..9e932e81689d 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 9b1c03612cbf..0de57e1cfbfd 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 e0d93ae42831..0dce177846fd 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 03f1b583d984..a5e164748465 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 edec2e93e654..99d513842ccb 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 ea93237a5336..46d7b19cd633 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 438b64741cf4..42386cd69d54 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 7f70fc30a962..532269fcb7c7 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 908492b1b42a..719559bded1c 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 897c6f951b9c..2362d0d6091f 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 8e554237dfd7..c6f1706f22cc 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 316ed188947a..9cb99f7d4fbc 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 4db60729ebbd..c8dd4e1d22ab 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 51622f8686ad..d6ca53215549 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 932568697ce3..e2425eeef771 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 87e0098d6c3c..e8edf5900e8e 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 6411045be604..4ce976cde166 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 7f1a8665471e..2cdb45e4d253 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 4e0dd5511cad..9ed120031637 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 4a478e4fe2f2..ce8689248d16 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 8885e72761c4..373fa0f799d9 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 6f86325badcf..a73e554d8b03 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 3e35f42de70c..bfec668ea540 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 ee38c330e5e6..7e6b31dd9b5d 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 d82e26f87c0b..75af67f32357 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 4d3fb06c09a1..d7cdc8ae891d 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 d01e60035e60..62ce4286e6f6 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 a83ebcb0b7da..1814058ad8db 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 a3ca671376ed..f00bf945abb8 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 a41980c0d93a..0254456d9917 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 e64babfdd23d..d3f78886d85a 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 3dc87bcae682..c9d1bd530261 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 d9c4db4303b5..aaaf72b0919e 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 ab1d02902ff4..3ae52425a42b 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 b60349a67024..b16cbff5287a 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 122431d5b6b0..cd12b3cf92a4 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 109d195ced61..71a93f9b94d2 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 9f5ba3eef130..8e5670825ab3 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 5a282b1583cf..1d94d8234fa8 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 3a6eee40fcc2..1047cf7f6024 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 eebb87491602..4f67802b1662 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 dcbda2d45c2d..b972c9e2831a 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 4a7f13e01d2e..69b8813876b1 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 93555963afca..e13c5e05cbec 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 db1f83493c77..206610885b9a 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 cb385a49bb92..f421d1da085c 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 ae6c94659daa..01e464c14f68 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 ec42786cbc0b..5be9768775f5 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 703e1ee5a345..758e97e65ef1 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 91adf6cd72cb..dd107a26c8c6 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 d847cd7fc685..36d559259303 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 c8667d890218..d8346dcf1a9a 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 96be1222a080..f796126a3475 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 29e43d69e4dd..ed9059b35ca6 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 7a2f9a1dd15f..577239060f35 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 9e7356433fd8..13be49f0f364 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 bc9adb3db67c..f1f05c2bb8ea 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 fd803e7c2ace..cbb5023588a4 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 9b25bdb1cbc4..096a3bdcb7af 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 a1b6d4ba5803..53cc8739fd5a 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 4f87434316dd..168069315dfc 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 83ed0cdd8833..ab67c565f2e7 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 1f8aec03999b..711bb27134c6 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 533c1530ca3c..3f6ce3fb9d57 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 66dbb0b45d51..a0ca0ef8770b 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 c2d88350b9cd..b45cb620e2c6 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 36ab7347a25f..4ecf4eb87b0d 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 90287b271e29..0910beed21ed 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 b5706b041423..ea312818369d 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 cffccf82b650..0026fbf6192b 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 d4959edcc93c..226416364406 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 533b1fedd4e9..4403dc5a71f4 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 d0b5345ae964..ae4b2e9233a5 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 e2c89bf3836e..264e13f836a0 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 fe39fd74fdef..f272a9d583b3 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 90604bc5af2f..ddf219f70091 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 7af4decf1643..439b4b48eb41 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 8631648221ca..3f5e1cbe04ac 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 98f53aa4f980..2ddc2d53d8cc 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 ea5b27088ae9..0c8986f88b33 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 a6298031f478..568d25731425 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 551f41d1596f..55b884d73990 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 a98cb1cb403a..a605850f4227 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 16fe7284afb8..981c336fd3a4 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 b395dc10c036..e7b2a27d243b 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 85a671734387..891709dee434 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 bf73dd5cc033..29d4c4a10d7d 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 cce01d6e6a2d..df1899145b0b 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 cafdf89b35e7..d89d50c8e164 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 b9b5aa714a16..852d2977f07e 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 d61828757b84..d044e438b4bd 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 3ee2a91b2789..31480a26603f 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 185f561de9cf..ff76420b776d 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 b627e6991ea3..732cd953bc09 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 94d9f57686e8..1ee37e089162 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 28ac9cc421e9..5adf7ad52516 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 b320099eee66..70d679b607d4 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 1983f86c07d8..8184c097101b 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 edb0c873c8c3..f8175a425ec8 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 abae921091f9..19a91a842498 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 327307c96d09..ebfd29655d31 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 254f16306f6b..878a3ad521df 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 f11cbd567100..43726bbdda65 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 19af6f710673..24526deb2efd 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 1802e6e9cb63..1a4e56775917 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 988127e26bf8..f592dc954a98 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 32d35eef557a..b7e933d1e573 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 631cc130516f..0fffc8b361e7 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 0fc68908a135..5edbbd73c2ab 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 331a4c942186..01cbc53daf33 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 e24d226ceaec..22b08ffbca4c 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 db5917f6414c..a09099cbed44 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 b35a55d34206..51db758bc62a 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 efddfc53c0d8..e1ef9ff6570e 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 d16612c0222a..f927034bac28 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 481bd1962e74..c9d28967078e 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 8f58f968519e..55e24515e7ad 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 f00e46482a1b..0aeaf8e79f71 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 404fc3ede734..4726fd95bca7 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 c3e36ad69706..85ace2ec8a08 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 7fbe97616c84..22075800da45 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 bf4e842e6ee0..c56348cdc071 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 5617c36d167b..b1cb56c9d733 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 e1ccb696df06..f18d0c75df9d 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 0ab908c61cd3..4ab239d028bc 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 f88a309e1f8a..0f4779d0ca92 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 68acbb9355bf..1c23e6adf50b 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 c3840e9f12ea..e3c9c22324e1 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 c5192fb02c0f..f30e2ff6f22a 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 ce17ff280379..010e4bb3bafe 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 aaeaaa560dc4..eb6064edc20d 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 b95a3a613ecd..3e664390dd18 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 874a001a2c2d..96054a6dbcba 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 ea04d853eae7..fdf893fd777a 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 7363c55abec6..e44d955c5aff 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 5cbd812700fc..c841d3352444 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 0f4693fe8d22..9bde7fa9514c 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> |