diff options
author | 1999-07-09 13:35:13 +0000 | |
---|---|---|
committer | 1999-07-09 13:35:13 +0000 | |
commit | 5c3dced36cf8ba5814dbe5ef397db72526a1fd4f (patch) | |
tree | 90483e7f9368ad7c7ba836616ba17091ef92c1e4 /lib/libc/gen | |
parent | stop Makefile from trying to build now-defunct rmuser.8; form@vell.nsc.ru (diff) | |
download | wireguard-openbsd-5c3dced36cf8ba5814dbe5ef397db72526a1fd4f.tar.xz wireguard-openbsd-5c3dced36cf8ba5814dbe5ef397db72526a1fd4f.zip |
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
Diffstat (limited to 'lib/libc/gen')
62 files changed, 246 insertions, 246 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3 index 9fd9fa6e044..c2f4bacbe43 100644 --- a/lib/libc/gen/alarm.3 +++ b/lib/libc/gen/alarm.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: alarm.3,v 1.6 1999/05/23 14:11:01 aaron Exp $ +.\" $OpenBSD: alarm.3,v 1.7 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -83,10 +83,10 @@ alarm. .Sh STANDARDS The .Fn alarm -function conforms to +function conforms to .St -p1003.1-90 . .Sh HISTORY An .Fn alarm -function appeared in +function appeared in .At v7 . diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index 5da41b75910..c76bc532cab 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: confstr.3,v 1.9 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: confstr.3,v 1.10 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -70,7 +70,7 @@ is a non-null pointer, and .Fa name has a value; up to .Fa len -\- 1 bytes of the value are copied into the buffer +\- 1 bytes of the value are copied into the buffer .Fa buf . The copied value is always null terminated. .Pp diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3 index 010b555c0e2..d00ac098e24 100644 --- a/lib/libc/gen/daemon.3 +++ b/lib/libc/gen/daemon.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: daemon.3,v 1.5 1999/04/02 16:21:35 aaron Exp $ +.\" $OpenBSD: daemon.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -67,7 +67,7 @@ may fail and set .Va errno for any of the errors specified for the library functions .Xr fork 2 -and +and .Xr setsid 2 . .Sh SEE ALSO .Xr fork 2 , diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index 95d85109f03..dea7a5f60c3 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: directory.3,v 1.9 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: directory.3,v 1.10 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -113,7 +113,7 @@ are good only for the lifetime of the pointer, .Fa dirp , from which they are derived. -If the directory is closed and then reopened, the +If the directory is closed and then reopened, the .Fn telldir value may be invalidated due to undetected directory compaction. It is safe to use a previous diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index b31003fac7c..67b7e2aae4b 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: err.3,v 1.7 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: err.3,v 1.8 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -91,7 +91,7 @@ and .Fn vwarn functions only, the error message string affiliated with the current value of the global variable -.Va errno +.Va errno is output. In all cases, the output is followed by a newline character. .Pp @@ -138,5 +138,5 @@ The .Fn err and .Fn warn -functions first appeared in +functions first appeared in .Bx 4.4 . diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3 index 8551fa6c324..a8b8d1f696c 100644 --- a/lib/libc/gen/frexp.3 +++ b/lib/libc/gen/frexp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: frexp.3,v 1.4 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: frexp.3,v 1.5 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -61,7 +61,7 @@ function returns the value .Li x , such that .Li x -is a +is a .Li double with magnitude in the interval .Bq 1/2 , 1 @@ -73,7 +73,7 @@ times 2 raised to the power .Fa *exp . If .Fa value -is zero, both parts of the result are zero. +is zero, both parts of the result are zero. .Sh SEE ALSO .Xr ldexp 3 , .Xr math 3 , diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index 59f4691abfc..953a378b3b2 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fts.3,v 1.12 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: fts.3,v 1.13 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -247,7 +247,7 @@ or .Fn fts_read functions, with its .Fa fts_info -field set to +field set to .Dv FTS_DNR , .Dv FTS_ERR or @@ -484,7 +484,7 @@ fields of the structures may .Em never be used in this comparison. -If the +If the .Fa fts_info field is set to .Dv FTS_NS diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index de9f6005b35..4c9fbf99cb2 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcap.3,v 1.15 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: getcap.3,v 1.16 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -35,7 +35,7 @@ .\" SUCH DAMAGE. .\" .Dd April 19, 1994 -.Dt GETCAP 3 +.Dt GETCAP 3 .Os .Sh NAME .Nm cgetent , @@ -82,10 +82,10 @@ file array .Fa db_array and returns a pointer to a copy of it in -.Fa buf . +.Fa buf . .Fn cgetent -will first look for files ending in -.Dq .db +will first look for files ending in +.Dq .db (see .Xr cap_mkdb 1 ) before accessing the @@ -102,35 +102,35 @@ and but may then be .Xr free Ns \&'d. On success 0 is returned, 1 if the returned -record contains an unresolved -.Ic tc +record contains an unresolved +.Ic tc expansion, \-1 if the requested record couldn't be found, \-2 if a system error occurred (couldn't open or read a file, for example) also setting -.Va errno , +.Va errno , and \-3 if a potential reference loop is detected (see .Ic tc= comments below). .Pp -.Fn cgetset +.Fn cgetset enables the addition of a character buffer containing a single capability record entry -to the capability database. +to the capability database. Conceptually, the entry is added as the first .Dq file in the database, and -is therefore searched first on the call to +is therefore searched first on the call to .Fn cgetent . -The entry is passed in +The entry is passed in .Fa ent . -If -.Fa ent +If +.Fa ent is .Dv NULL , -the current entry is removed from the database. -.Fn cgetset +the current entry is removed from the database. +.Fn cgetset must precede the database traversal. It must be called before .Fn cgetent . If a sequential access is being performed (see below), it must be called @@ -138,7 +138,7 @@ before the first sequential access call ( .Fn cgetfirst or .Fn cgetnext -), or be directly preceded by a +), or be directly preceded by a .Fn cgetclose call. On success 0 is returned and \-1 on failure. @@ -207,8 +207,8 @@ be found, or \-2 if a system error was encountered (storage allocation failure). .Pp .Fn cgetustr -is identical to -.Fn cgetstr +is identical to +.Fn cgetstr except that it does not expand special characters, but rather returns each character of the capability string literally. .Pp @@ -219,38 +219,38 @@ comprise a function group that provides for sequential access of the null-terminated array of file names, .Fa db_array . -.Fn cgetfirst +.Fn cgetfirst returns the first record in the database and resets the access to the first record. -.Fn cgetnext +.Fn cgetnext returns the next record in the database with respect to the record returned by the previous .Fn cgetfirst or -.Fn cgetnext +.Fn cgetnext call. If there is no such previous call, the first record in the database is returned. Each record is returned in a -.Xr malloc Ns \&'d -copy pointed to by -.Fa buf . +.Xr malloc Ns \&'d +copy pointed to by +.Fa buf . .Ic tc expansion is done (see -.Ic tc= +.Ic tc= comments below). Upon completion of the database 0 is returned, 1 is returned upon successful -return of record with possibly more remaining (we haven't reached the end of +return of record with possibly more remaining (we haven't reached the end of the database yet), 2 is returned if the record contains an unresolved -.Ic tc +.Ic tc expansion, \-1 is returned if an system error occurred, and \-2 -is returned if a potential reference loop is detected (see +is returned if a potential reference loop is detected (see .Ic tc= comments below). Upon completion of database (0 return) the database is closed. .Pp -.Fn cgetclose -closes the sequential access and frees any memory and file descriptors -being used. Note that it does not erase the buffer pushed by a call to +.Fn cgetclose +closes the sequential access and frees any memory and file descriptors +being used. Note that it does not erase the buffer pushed by a call to .Fn cgetset . .Ss Capability database syntax Capability databases are normally @@ -407,7 +407,7 @@ has value .Em number .It Em name No = Em string Ta "string capability" .Em name -has value +has value .Em string .It Em name No \&#@ Ta "the numeric capability" .Em name @@ -515,24 +515,24 @@ returns a character pointer on success and a on failure. .Pp .Fn cgetent -and +and .Fn cgetset -may fail and set +may fail and set .Va errno for any of the errors specified for the library functions -.Xr fopen 3 , +.Xr fopen 3 , .Xr fclose 3 , .Xr open 2 , -and +and .Xr close 2 . .Pp .Fn cgetent , .Fn cgetset , .Fn cgetstr , and -.Fn cgetustr -may fail and set -.Va errno +.Fn cgetustr +may fail and set +.Va errno as follows: .Bl -tag -width Er .It Bq Er ENOMEM @@ -551,6 +551,6 @@ There are no checks for loops in .Fn cgetent . .Pp -The buffer added to the database by a call to -.Fn cgetset +The buffer added to the database by a call to +.Fn cgetset is not unique to the database but is rather prepended to any database used. diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3 index e3f292d61e9..13f9b4641b7 100644 --- a/lib/libc/gen/getcwd.3 +++ b/lib/libc/gen/getcwd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcwd.3,v 1.6 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getcwd.3,v 1.7 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -140,7 +140,7 @@ allocate memory as necessary is an extension. .Sh HISTORY The .Fn getwd -function appeared in +function appeared in .Bx 4.0 . .Sh BUGS The diff --git a/lib/libc/gen/getdiskbyname.3 b/lib/libc/gen/getdiskbyname.3 index fcc27f34b20..170af443249 100644 --- a/lib/libc/gen/getdiskbyname.3 +++ b/lib/libc/gen/getdiskbyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdiskbyname.3,v 1.4 1999/05/29 19:11:11 aaron Exp $ +.\" $OpenBSD: getdiskbyname.3,v 1.5 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ takes a disk name (e.g., and returns a prototype disk label describing its geometry information and the standard disk partition tables. All information is obtained from -the +the .Xr disktab 5 file. .Sh SEE ALSO @@ -60,5 +60,5 @@ file. .Sh HISTORY The .Fn getdiskbyname -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index 923e84800e4..5ccb8701912 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdomainname.3,v 1.14 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getdomainname.3,v 1.15 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -53,7 +53,7 @@ previously set by .Fn setdomainname . The parameter .Fa namelen -specifies the size of the +specifies the size of the .Fa name array. If insufficient space is provided, the returned name is truncated. The returned name is always null terminated. diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3 index dd4fb08d633..cde6016b2a6 100644 --- a/lib/libc/gen/getfsent.3 +++ b/lib/libc/gen/getfsent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getfsent.3,v 1.5 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getfsent.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -128,13 +128,13 @@ file system table .Sh HISTORY The .Fn getfsent -function appeared in +function appeared in .Bx 4.0 ; the .Fn endfsent , .Fn getfsfile , .Fn getfsspec , -and +and .Fn setfsent functions appeared in .Bx 4.3 . diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3 index d2ecf6944da..ab1b7e8afd1 100644 --- a/lib/libc/gen/getgrent.3 +++ b/lib/libc/gen/getgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrent.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: getgrent.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -127,7 +127,7 @@ is reached or an error occurs a null pointer is returned. The .Fn setgroupent function returns the value 1 if successful, otherwise 0. -The +The .Fn endgrent and .Fn setgrent diff --git a/lib/libc/gen/getgrouplist.3 b/lib/libc/gen/getgrouplist.3 index cbd5409651d..eadb6ca2476 100644 --- a/lib/libc/gen/getgrouplist.3 +++ b/lib/libc/gen/getgrouplist.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrouplist.3,v 1.6 1999/06/03 10:03:21 aaron Exp $ +.\" $OpenBSD: getgrouplist.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -55,7 +55,7 @@ the group number from the password file. .Pp The resulting group list is returned in the integer array pointed to by .Fa groups . -The caller specifies the size of the +The caller specifies the size of the .Fa groups array in the integer pointed to by .Fa ngroups ; diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index 499e818b4f8..479e9257cc7 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostname.3,v 1.14 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: gethostname.3,v 1.15 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ processor, as previously set by .Fn sethostname . The parameter .Fa namelen -specifies the size of the +specifies the size of the .Fa name array. If insufficient space is provided, the returned name is truncated. The returned name is always null terminated. diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3 index 8e884bec209..90d6786237f 100644 --- a/lib/libc/gen/getmntinfo.3 +++ b/lib/libc/gen/getmntinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getmntinfo.3,v 1.5 1999/05/16 19:54:52 alex Exp $ +.\" $OpenBSD: getmntinfo.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -69,20 +69,20 @@ The pointer to the array is stored into If an error occurs, zero is returned and the external variable .Va errno is set to indicate the error. -Although the pointer +Although the pointer .Fa mntbufp -will be unmodified, any information previously returned by +will be unmodified, any information previously returned by .Fn getmntinfo will be lost. .Sh ERRORS The .Fn getmntinfo function -may fail and set -.Va errno +may fail and set +.Va errno for any of the errors specified for the library routines .Xr getfsstat 2 -or +or .Xr malloc 3 . .Sh SEE ALSO .Xr getfsstat 2 , diff --git a/lib/libc/gen/getnetgrent.3 b/lib/libc/gen/getnetgrent.3 index d4868fa5e7c..9cd9dbaa70c 100644 --- a/lib/libc/gen/getnetgrent.3 +++ b/lib/libc/gen/getnetgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnetgrent.3,v 1.9 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: getnetgrent.3,v 1.10 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -41,7 +41,7 @@ .Nm endnetgrent .Nd netgroup database operations .Sh SYNOPSIS -.Fd #include <netgroup.h> +.Fd #include <netgroup.h> .Ft int .Fn getnetgrent "const char **host" "const char **user" "const char **domain" .Ft int diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3 index 0a40da96c4e..fad5ff1bc78 100644 --- a/lib/libc/gen/getpagesize.3 +++ b/lib/libc/gen/getpagesize.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpagesize.3,v 1.7 1999/05/29 19:11:11 aaron Exp $ +.\" $OpenBSD: getpagesize.3,v 1.8 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -47,8 +47,8 @@ This interface is obsoleted by .Xr sysconf 3 . Use .Fn sysconf _SC_PAGESIZE . -.Ef -.Pp +.Ef +.Pp The .Fn getpagesize function returns the number of bytes in a page. diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index 9331e76c940..e001e020150 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwent.3,v 1.8 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: getpwent.3,v 1.9 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ .Ft struct passwd * .Fn getpwnam "const char *login" .Ft struct passwd * -.Fn getpwuid "uid_t uid" +.Fn getpwuid "uid_t uid" .Ft int .Fn setpassent "int stayopen" .Ft void @@ -142,7 +142,7 @@ The function returns 0 on failure or 1 on success. The .Fn endpwent -and +and .Fn setpwent functions have no return value. diff --git a/lib/libc/gen/getusershell.3 b/lib/libc/gen/getusershell.3 index 78708e7886d..a45d724cdc2 100644 --- a/lib/libc/gen/getusershell.3 +++ b/lib/libc/gen/getusershell.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getusershell.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: getusershell.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,9 +52,9 @@ The .Fn getusershell function returns a pointer to a legal user shell as defined by the -system manager in the file +system manager in the file .Pa /etc/shells . -If +If .Pa /etc/shells is unreadable or does not exist, .Fn getusershell @@ -87,7 +87,7 @@ returns a null pointer .Sh HISTORY The .Fn getusershell -function appeared in +function appeared in .Bx 4.3 . .Sh BUGS The diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 3471f21e156..0c85a71c9c7 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.3,v 1.11 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: glob.3,v 1.12 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -44,7 +44,7 @@ .Fd #include <glob.h> .Ft int .Fn glob "const char *pattern" "int flags" "const int (*errfunc)(const char *, int)" "glob_t *pglob" -.Ft void +.Ft void .Fn globfree "glob_t *pglob" .Sh DESCRIPTION The @@ -91,7 +91,7 @@ field, and a pointer to a list of pointers to pathnames in the .Fa gl_pathv field. The first pointer after the last pathname is -.Dv NULL . +.Dv NULL . If the pattern does not match any pathnames, the returned number of matched paths is set to zero. .Pp @@ -219,29 +219,29 @@ This extension is provided to allow programs such as .Xr restore 8 to provide globbing from directories stored on tape. .It Dv GLOB_BRACE -Pre-process the pattern string to expand -.Ql {pat,pat,...} -strings like +Pre-process the pattern string to expand +.Ql {pat,pat,...} +strings like .Xr csh 1 . -The pattern +The pattern .Ql {} is left unexpanded for historical reasons. -.Xr (csh 1 -does the same thing to +.Xr (csh 1 +does the same thing to ease typing -of -.Xr find 1 +of +.Xr find 1 patterns.) .It Dv GLOB_MAGCHAR Set by the .Fn glob function if the pattern included globbing characters. -See the description of the usage of the +See the description of the usage of the .Fa gl_matchc structure member for more details. .It Dv GLOB_NOMAGIC -Is the same as -.Dv GLOB_NOCHECK +Is the same as +.Dv GLOB_NOCHECK but it only appends the .Fa pattern if it does not contain any of the special characters @@ -249,7 +249,7 @@ if it does not contain any of the special characters .Ql ? , or .Ql [ . -.Dv GLOB_NOMAGIC +.Dv GLOB_NOMAGIC is provided to simplify implementing the historic .Xr csh 1 globbing behavior and should probably not be used anywhere else. @@ -282,7 +282,7 @@ call to The error routine can suppress this action by testing for .Er ENOENT and -.Er ENOTDIR ; +.Er ENOTDIR ; however, the .Dv GLOB_ERR flag will still cause an immediate @@ -332,16 +332,16 @@ contain the values described below: .Bl -tag -width GLOB_NOCHECK .It Fa gl_pathc Contains the total number of matched pathnames so far. -This includes other matches from previous invocations of +This includes other matches from previous invocations of .Fn glob -if +if .Dv GLOB_APPEND was specified. .It Fa gl_matchc Contains the number of matched pathnames in the current invocation of .Fn glob . .It Fa gl_flags -Contains a copy of the +Contains a copy of the .Fa flags parameter with the bit .Dv GLOB_MAGCHAR @@ -365,9 +365,9 @@ are undefined. .Pp If .Fn glob -terminates due to an error, it sets -.Va errno -and returns one of the following non-zero constants, which are defined +terminates due to an error, it sets +.Va errno +and returns one of the following non-zero constants, which are defined in the include file .Aq Pa glob.h : .Bl -tag -width GLOB_NOCHECK @@ -427,9 +427,9 @@ Note, however, that the flags .Dv GLOB_QUOTE, and .Dv GLOB_TILDE, -and the fields +and the fields .Fa gl_matchc -and +and .Fa gl_flags should not be used by applications striving for strict standards conformance. @@ -438,7 +438,7 @@ The .Fn glob and .Fn globfree -functions first appeared in +functions first appeared in .Bx 4.4 . .Sh BUGS Patterns longer than @@ -447,8 +447,8 @@ may cause unchecked errors. .Pp The .Fn glob -function may fail and set -.Va errno +function may fail and set +.Va errno for any of the errors specified for the library routines .Xr stat 2 , .Xr closedir 3 , diff --git a/lib/libc/gen/initgroups.3 b/lib/libc/gen/initgroups.3 index 27916f64a60..ec2ff8105e1 100644 --- a/lib/libc/gen/initgroups.3 +++ b/lib/libc/gen/initgroups.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: initgroups.3,v 1.7 1999/06/03 10:03:21 aaron Exp $ +.\" $OpenBSD: initgroups.3,v 1.8 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -76,7 +76,7 @@ returns \-1 if it was not invoked by the super-user. .Sh HISTORY The .Fn initgroups -function appeared in +function appeared in .Bx 4.2 . .Sh BUGS The diff --git a/lib/libc/gen/isalnum.3 b/lib/libc/gen/isalnum.3 index 479380ad0e8..54b310a0e50 100644 --- a/lib/libc/gen/isalnum.3 +++ b/lib/libc/gen/isalnum.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isalnum.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isalnum.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn isalnum -macro tests for any character for which +macro tests for any character for which .Xr isalpha 3 or .Xr isdigit 3 @@ -73,7 +73,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isalpha.3 b/lib/libc/gen/isalpha.3 index 4540663d02d..91da6e8fc81 100644 --- a/lib/libc/gen/isalpha.3 +++ b/lib/libc/gen/isalpha.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isalpha.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isalpha.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -43,7 +43,7 @@ .Nd alphabetic character test .Sh SYNOPSIS .Fd #include <ctype.h> -.Ft int +.Ft int .Fn isalpha "int c" .Sh DESCRIPTION The @@ -88,7 +88,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3 index 1d81875ce89..a8d4f3f5a76 100644 --- a/lib/libc/gen/isascii.3 +++ b/lib/libc/gen/isascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isascii.3,v 1.6 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isascii.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -68,7 +68,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isblank.3 b/lib/libc/gen/isblank.3 index 5c6164a5ae2..706f0c0b269 100644 --- a/lib/libc/gen/isblank.3 +++ b/lib/libc/gen/isblank.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isblank.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isblank.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -81,6 +81,6 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3 index fe47987fd65..1ade0167108 100644 --- a/lib/libc/gen/iscntrl.3 +++ b/lib/libc/gen/iscntrl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iscntrl.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: iscntrl.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3 index 49ba362d038..11caef61a6b 100644 --- a/lib/libc/gen/isdigit.3 +++ b/lib/libc/gen/isdigit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isdigit.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isdigit.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isgraph.3 b/lib/libc/gen/isgraph.3 index 2ee60fa4fd7..89dc7abaaa8 100644 --- a/lib/libc/gen/isgraph.3 +++ b/lib/libc/gen/isgraph.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isgraph.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isgraph.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -70,7 +70,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isinf.3 b/lib/libc/gen/isinf.3 index 8a24f7ecd5d..304d56d4023 100644 --- a/lib/libc/gen/isinf.3 +++ b/lib/libc/gen/isinf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isinf.3,v 1.5 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isinf.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,9 +40,9 @@ .Nd test for infinity or not-a-number .Sh SYNOPSIS .Fd #include <math.h> -.Ft int +.Ft int .Fn isinf "double n" -.Ft int +.Ft int .Fn isnan "double n" .Sh DESCRIPTION The diff --git a/lib/libc/gen/islower.3 b/lib/libc/gen/islower.3 index 2ff33867aee..404936408ac 100644 --- a/lib/libc/gen/islower.3 +++ b/lib/libc/gen/islower.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: islower.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: islower.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -81,7 +81,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isprint.3 b/lib/libc/gen/isprint.3 index f6aa636f394..302836c7076 100644 --- a/lib/libc/gen/isprint.3 +++ b/lib/libc/gen/isprint.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isprint.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isprint.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -70,7 +70,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/ispunct.3 b/lib/libc/gen/ispunct.3 index 97c21c0e52e..518bdc35133 100644 --- a/lib/libc/gen/ispunct.3 +++ b/lib/libc/gen/ispunct.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ispunct.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: ispunct.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -73,7 +73,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isspace.3 b/lib/libc/gen/isspace.3 index 36a1bc5f839..d80ea80dbab 100644 --- a/lib/libc/gen/isspace.3 +++ b/lib/libc/gen/isspace.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isspace.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isspace.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -94,7 +94,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isupper.3 b/lib/libc/gen/isupper.3 index e0edecc9c53..bdaf741f0ee 100644 --- a/lib/libc/gen/isupper.3 +++ b/lib/libc/gen/isupper.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isupper.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isupper.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -79,7 +79,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isxdigit.3 b/lib/libc/gen/isxdigit.3 index ecb1ede4b41..63eec860c04 100644 --- a/lib/libc/gen/isxdigit.3 +++ b/lib/libc/gen/isxdigit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isxdigit.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isxdigit.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isupper 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/modf.3 b/lib/libc/gen/modf.3 index 0d1a5dc0ff8..12af5486fbc 100644 --- a/lib/libc/gen/modf.3 +++ b/lib/libc/gen/modf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: modf.3,v 1.3 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: modf.3,v 1.4 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ function breaks the argument .Fa value into integral and fractional parts, each of which has the same sign as the argument. -It stores the integral part as a +It stores the integral part as a .Li double in the object pointed to by .Fa iptr . diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3 index 49b266fcf30..1e514df3361 100644 --- a/lib/libc/gen/nice.3 +++ b/lib/libc/gen/nice.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nice.3,v 1.8 1999/06/03 10:13:29 aaron Exp $ +.\" $OpenBSD: nice.3,v 1.9 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -70,5 +70,5 @@ returns the same values as .Sh HISTORY A .Fn nice -syscall appeared in +syscall appeared in .At v6 . diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3 index 3d7844ee13f..6f52ebb1e80 100644 --- a/lib/libc/gen/pause.3 +++ b/lib/libc/gen/pause.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pause.3,v 1.6 1999/06/03 10:03:22 aaron Exp $ +.\" $OpenBSD: pause.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -84,5 +84,5 @@ The call was interrupted. A .Fn pause syscall -appeared in +appeared in .At v6 . diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index fbf8e8b04e5..455965e3c4e 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: psignal.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: psignal.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -86,5 +86,5 @@ and .Sh HISTORY The .Fn psignal -function appeared in +function appeared in .Bx 4.2 . diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index e350587e558..a66dabacb93 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pwcache.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: pwcache.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -49,7 +49,7 @@ The function returns the user name associated with the argument .Fa uid . The user name is cached so that multiple calls with the same -.Fa uid +.Fa uid do not require additional calls to .Xr getpwuid 3 . If there is no user associated with the diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index 0f50c78db5b..e53d4d48b9d 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scandir.3,v 1.5 1999/06/03 10:03:22 aaron Exp $ +.\" $OpenBSD: scandir.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -106,5 +106,5 @@ The .Fn scandir and .Fn alphasort -functions appeared in +functions appeared in .Bx 4.2 . diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3 index 5cf0403a319..df0fc58d4f5 100644 --- a/lib/libc/gen/setjmp.3 +++ b/lib/libc/gen/setjmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setjmp.3,v 1.8 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: setjmp.3,v 1.9 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -163,7 +163,7 @@ and .Fn longjmp functions conform to .St -ansiC . -The +The .Fn sigsetjmp and .Fn siglongjmp diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3 index 4eefb790427..37653d5e3cd 100644 --- a/lib/libc/gen/setproctitle.3 +++ b/lib/libc/gen/setproctitle.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setproctitle.3,v 1.7 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: setproctitle.3,v 1.8 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1994, 1995 Christopher G. Demetriou .\" All rights reserved. @@ -71,5 +71,5 @@ setproctitle("foo! (%d)", getpid()); .Sh HISTORY The .Fn setproctitle -function first appeared in +function first appeared in .Nx 0.9a . diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3 index 86200e067c1..048310350c8 100644 --- a/lib/libc/gen/siginterrupt.3 +++ b/lib/libc/gen/siginterrupt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: siginterrupt.3,v 1.7 1999/06/03 10:03:23 aaron Exp $ +.\" $OpenBSD: siginterrupt.3,v 1.8 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -65,7 +65,7 @@ and no data has been transferred, the system call will return \-1 with the global variable .Va errno set to -.Er EINTR . +.Er EINTR . Interrupted system calls that have started transferring data will return the amount of data actually transferred. System call interrupt is the signal behavior found on @@ -108,5 +108,5 @@ specified. .Sh HISTORY The .Fn siginterrupt -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 4cf084a1126..21f070bef6e 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.11 1999/05/29 21:24:20 aaron Exp $ +.\" $OpenBSD: signal.3,v 1.12 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -158,7 +158,7 @@ automatically blocked and .Fa func is called. .Pp -The handled signal is unblocked when +The handled signal is unblocked when .Fa func returns and the process continues from where it left off when the signal occurred. @@ -199,7 +199,7 @@ function; ignored signals remain ignored. .Sh RETURN VALUES The previous action is returned on a successful call. -Otherwise, +Otherwise, .Fa SIG_ERR is returned and the global variable .Va errno @@ -231,5 +231,5 @@ or .Sh HISTORY This .Fn signal -facility appeared in +facility appeared in .Bx 4.0 . diff --git a/lib/libc/gen/sigsetops.3 b/lib/libc/gen/sigsetops.3 index 1f6a541fafc..61e1692fdf2 100644 --- a/lib/libc/gen/sigsetops.3 +++ b/lib/libc/gen/sigsetops.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigsetops.3,v 1.5 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: sigsetops.3,v 1.6 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -63,9 +63,9 @@ or must be called for every object of type .Li sigset_t before any other use of the object. -.Fn sigemptyset +.Fn sigemptyset and -.Fn sigfillset +.Fn sigfillset are provided as macros, but actual functions are available if their names are undefined (with #undef .Ar name ) . diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index e08222975d3..84c3d2c0d31 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sleep.3,v 1.5 1999/05/29 21:24:21 aaron Exp $ +.\" $OpenBSD: sleep.3,v 1.6 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -64,10 +64,10 @@ with other uses of .Fn sleep interferes with interval timers anymore). .Sh RETURN VALUE -If the +If the .Fn sleep function returns because the requested time has elapsed, the value -returned will be zero. If the +returned will be zero. If the .Fn sleep function returns due to the delivery of a signal, the value returned will be the unslept amount (the request time minus the time actually @@ -82,9 +82,9 @@ slept) in seconds. .Xr pause 3 , .Xr usleep 3 .Sh STANDARDS -The -.Fn sleep -function conforms to +The +.Fn sleep +function conforms to .St -p1003.1-90 . .Sh HISTORY A diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3 index 1221ec086af..ad432335843 100644 --- a/lib/libc/gen/sysconf.3 +++ b/lib/libc/gen/sysconf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysconf.3,v 1.10 1999/06/03 10:03:23 aaron Exp $ +.\" $OpenBSD: sysconf.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -118,7 +118,7 @@ The maximum number of repeated occurrences of a regular expression permitted when using interval notation. .It Li _SC_2_VERSION The version of POSIX 1003.2 with which the system attempts to comply. -.It Li _SC_2_C_BIND +.It Li _SC_2_C_BIND Return 1 if the system's C-language development facilities support the C-Language Bindings Option, otherwise \-1. .It Li _SC_2_C_DEV diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 2de353c1a90..8dd1f16e41e 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.26 1999/07/04 18:59:42 aaron Exp $ +.\" $OpenBSD: sysctl.3,v 1.27 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -51,7 +51,7 @@ The information available from .Fn sysctl consists of integers, strings, and tables. Information may be retrieved and set from the command interface -using the +using the .Xr sysctl 8 utility. .Pp @@ -90,7 +90,7 @@ and should be set to .Dv NULL . .Pp -The size of the available data can be determined by calling +The size of the available data can be determined by calling .Fn sysctl with a .Dv NULL @@ -171,9 +171,9 @@ Each time it runs, .Fn sysctl gets the list of debugging variables from the kernel and displays their current values. -The system defines twenty +The system defines twenty .Li struct ctldebug -variables named +variables named .Va debug0 through .Va debug19 . @@ -389,7 +389,7 @@ attempts to retrieve any of the .Dv KERN_PROF values will fail with .Er EOPNOTSUPP . -The third level names for the string and integer profiling information +The third level names for the string and integer profiling information is detailed below. The changeable column shows whether a process with appropriate privileges may change the value. @@ -484,7 +484,7 @@ privileges may change the value. Get or set various global information about the .Tn IP security protocols. -The third level name is the protocol. +The third level name is the protocol. The fourth level name is the variable name. The currently defined protocols and names are: .Bl -column "Protocol name" "Variable name" "integer" -offset indent diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3 index 68a12813529..3dc53dd111c 100644 --- a/lib/libc/gen/syslog.3 +++ b/lib/libc/gen/syslog.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syslog.3,v 1.6 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: syslog.3,v 1.7 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -142,7 +142,7 @@ cannot pass the message to .Xr syslogd it will attempt to write the message to the console .Pq Pa /dev/console . -.It Dv LOG_NDELAY +.It Dv LOG_NDELAY Open the connection to .Xr syslogd immediately. @@ -211,7 +211,7 @@ Similarly for .Dv LOG_LOCAL1 through .Dv LOG_LOCAL7 . -.El +.El .Pp The .Fn closelog @@ -267,5 +267,5 @@ syslog(LOG_INFO|LOG_LOCAL2, "foobar error: %m"); .Xr syslogd 8 .Sh HISTORY These -functions appeared in +functions appeared in .Bx 4.2 . diff --git a/lib/libc/gen/times.3 b/lib/libc/gen/times.3 index 669d4b4d1fc..eea2c3c513a 100644 --- a/lib/libc/gen/times.3 +++ b/lib/libc/gen/times.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: times.3,v 1.6 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: times.3,v 1.7 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -39,7 +39,7 @@ .Nd process times .Sh SYNOPSIS .Fd #include <sys/times.h> -.Ft clock_t +.Ft clock_t .Fn times "struct tms *tp" .Sh DESCRIPTION .Bf -symbolic @@ -113,7 +113,7 @@ If an error occurs, .Fn times returns the value .Pq Em clock_t No - 1 , -and sets +and sets .Va errno to indicate the error. .Sh ERRORS diff --git a/lib/libc/gen/toascii.3 b/lib/libc/gen/toascii.3 index 88819a206ee..10d8fc88df7 100644 --- a/lib/libc/gen/toascii.3 +++ b/lib/libc/gen/toascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: toascii.3,v 1.4 1999/05/29 21:24:18 aaron Exp $ +.\" $OpenBSD: toascii.3,v 1.5 1999/07/09 13:35:19 aaron Exp $ .\" $NetBSD: toascii.3,v 1.2 1997/07/16 06:20:20 mikel Exp $ .\" .\" Copyright (c) 1993 @@ -68,6 +68,6 @@ function always returns a valid ASCII character. .Xr isupper 3 , .Xr isxdigit 3 , .Xr stdio 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 diff --git a/lib/libc/gen/tolower.3 b/lib/libc/gen/tolower.3 index 52e7e6669ae..bf67f324e80 100644 --- a/lib/libc/gen/tolower.3 +++ b/lib/libc/gen/tolower.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tolower.3,v 1.7 1999/05/29 20:07:14 aaron Exp $ +.\" $OpenBSD: tolower.3,v 1.8 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -68,7 +68,7 @@ If the argument to the .Fn _tolower function is an upper-case letter, the corresponding lower-case letter is returned; otherwise the output is undefined. -.\" In the +.\" In the .\" .Em ``C'' .\" locale, .\" .Fn tolower @@ -93,7 +93,7 @@ is returned; otherwise the output is undefined. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr toupper 3 , +.Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS The diff --git a/lib/libc/gen/toupper.3 b/lib/libc/gen/toupper.3 index 0fc16e18854..8ce6d914384 100644 --- a/lib/libc/gen/toupper.3 +++ b/lib/libc/gen/toupper.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: toupper.3,v 1.9 1999/05/29 20:07:14 aaron Exp $ +.\" $OpenBSD: toupper.3,v 1.10 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -76,7 +76,7 @@ is returned; otherwise the output is undefined. .\" .Xr islower .\" is true to the corresponding characters for which .\" .Xr isupper -.\" is true. +.\" is true. .Sh SEE ALSO .Xr isalnum 3 , .Xr isalpha 3 , @@ -93,7 +93,7 @@ is returned; otherwise the output is undefined. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr ascii 7 .Sh STANDARDS The diff --git a/lib/libc/gen/ttyname.3 b/lib/libc/gen/ttyname.3 index 706ec728153..fc9d5f9bc48 100644 --- a/lib/libc/gen/ttyname.3 +++ b/lib/libc/gen/ttyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ttyname.3,v 1.8 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: ttyname.3,v 1.9 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,7 +58,7 @@ type devices. These descriptors are not related to the standard typedef, but refer to the special device files found in .Pa /dev and named -.Pa /dev/tty Ns Em XX +.Pa /dev/tty Ns Em XX and for which an entry exists in the initialization file .Pa /etc/ttys @@ -85,7 +85,7 @@ is true. The .Fn ttyname_r function stores the null-terminated -pathname of the terminal associated with +pathname of the terminal associated with the file descriptor .Fa fd in the character array referenced by @@ -110,7 +110,7 @@ and functions return the null-terminated name if the device is found and .Fn isatty -is true; otherwise +is true; otherwise a null pointer is returned and .Dv errno is set to indicate the error. @@ -144,7 +144,7 @@ The .Fa fd argument does not refer to a terminal device. .It Bq Er ERANGE -The value of +The value of .Fa namesize is smaller than the length of the string to be returned including the terminating NUL character. diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3 index 7affd255ae8..b89f065fe17 100644 --- a/lib/libc/gen/ualarm.3 +++ b/lib/libc/gen/ualarm.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ualarm.3,v 1.10 1999/05/29 22:38:36 aaron Exp $ +.\" $OpenBSD: ualarm.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -39,7 +39,7 @@ .Nd schedule signal after specified time .Sh SYNOPSIS .Fd #include <unistd.h> -.Ft useconds_t +.Ft useconds_t .Fn ualarm "useconds_t microseconds" "useconds_t interval" .Sh DESCRIPTION .Bf -symbolic @@ -93,5 +93,5 @@ function conforms to .Sh HISTORY The .Fn ualarm -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3 index 61e5f67fe11..84d7fcdcfe7 100644 --- a/lib/libc/gen/unvis.3 +++ b/lib/libc/gen/unvis.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unvis.3,v 1.8 1999/07/02 20:58:00 aaron Exp $ +.\" $OpenBSD: unvis.3,v 1.9 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,9 +40,9 @@ .Nd decode a visual representation of characters .Sh SYNOPSIS .Fd #include <vis.h> -.Ft int +.Ft int .Fn unvis "char *cp" "char c" "int *astate" "int flag" -.Ft int +.Ft int .Fn strunvis "char *dst" "char *src" .Sh DESCRIPTION The @@ -57,7 +57,7 @@ function, back into the original form. .Fn unvis is called with successive characters in -.Fa c +.Fa c until a valid sequence is recognized, at which time the decoded character is available at the character pointed to by @@ -108,7 +108,7 @@ has several return codes that must be handled properly. They are: .Bl -tag -width UNVIS_VALIDPUSH .It Li \&0 (zero) Another character is necessary; nothing has been recognized yet. -.It Dv UNVIS_VALID +.It Dv UNVIS_VALID A valid character has been recognized and is available at the location pointed to by .Fa cp . diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3 index 76d7211ae63..4f1f2ecc7bb 100644 --- a/lib/libc/gen/usleep.3 +++ b/lib/libc/gen/usleep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usleep.3,v 1.9 1999/06/03 10:03:24 aaron Exp $ +.\" $OpenBSD: usleep.3,v 1.10 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ microseconds of time. System activity or time spent in processing the call may lengthen the sleep slightly. .Pp -This routine is implemented using +This routine is implemented using .Xr nanosleep 2 ; it requires one system call each time it is invoked. A similar but less compatible function can be obtained with a single @@ -64,12 +64,12 @@ with other uses of .Fn usleep interferes with interval timers anymore). .Sh RETURN VALUE -If the +If the .Fn usleep function returns because the requested time has elapsed, the value returned will be zero. .Pp -If the +If the .Fn usleep function returns due to the delivery of a signal, the value returned will be the \-1, and the global variable @@ -107,5 +107,5 @@ function conforms to .Sh HISTORY The .Fn usleep -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3 index 0f48cdfb3ac..f73fcc22655 100644 --- a/lib/libc/gen/utime.3 +++ b/lib/libc/gen/utime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utime.3,v 1.10 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: utime.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -57,16 +57,16 @@ If is .Dv NULL , the access and modification times are set to the current time. -The calling process must be the owner of the file or have permission to +The calling process must be the owner of the file or have permission to write the file. .Pp -If +If .Fa timep is non-null -.Fa time +.Fa time is assumed to be a pointer to a .Li utimbuf -structure, as defined in +structure, as defined in .Aq Pa utime.h : .Bd -literal -offset indent struct utimbuf { @@ -81,11 +81,11 @@ member, and the modification time is set to the value of the .Fa modtime member. The times are measured in -seconds since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated +seconds since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time (UTC). The calling process must be the owner of the file or be the super-user. .Pp -In either case, the inode change-time of the file is set to the current +In either case, the inode change-time of the file is set to the current time. .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3 index 7e2ce6e4425..3b22ff48113 100644 --- a/lib/libc/gen/valloc.3 +++ b/lib/libc/gen/valloc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: valloc.3,v 1.7 1999/06/04 01:30:12 aaron Exp $ +.\" $OpenBSD: valloc.3,v 1.8 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -68,7 +68,7 @@ null pointer is returned. .Sh HISTORY The .Fn valloc -function appeared in +function appeared in .Bx 3.0 . .Sh BUGS A diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3 index 3548ca887b2..49d8e7ea422 100644 --- a/lib/libc/gen/vis.3 +++ b/lib/libc/gen/vis.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vis.3,v 1.8 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: vis.3,v 1.9 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,9 +43,9 @@ .Fd #include <vis.h> .Ft char * .Fn vis "char *dst" "char c" "int flag" "char nextc" -.Ft int +.Ft int .Fn strvis "char *dst" "char *src" "int flag" -.Ft int +.Ft int .Fn strvisx "char *dst" "char *src" "int len" "int flag" .Sh DESCRIPTION The @@ -112,7 +112,7 @@ forms return the number of characters in (not including the trailing NUL). .Pp The encoding is a unique, invertible representation composed entirely of -graphic characters; it can be decoded back into the original form using +graphic characters; it can be decoded back into the original form using the .Xr unvis 3 or @@ -121,7 +121,7 @@ functions. .Pp There are two parameters that can be controlled: the range of characters that are encoded, and the type -of representation used. +of representation used. By default, all non-graphic characters. except space, tab, and newline are encoded (see @@ -131,25 +131,25 @@ alter this: .Bl -tag -width VIS_WHITEX .It Dv VIS_SP Also encode space. -.It Dv VIS_TAB +.It Dv VIS_TAB Also encode tab. .It Dv VIS_NL Also encode newline. -.It Dv VIS_WHITE +.It Dv VIS_WHITE Synonym for .Dv VIS_SP \&| .Dv VIS_TAB \&| .Dv VIS_NL . -.It Dv VIS_SAFE +.It Dv VIS_SAFE Only encode .Dq unsafe characters. These are control characters which may cause common terminals to perform unexpected functions. Currently this form allows space, tab, newline, backspace, bell, and return -- in addition -to all graphic characters -- unencoded. +to all graphic characters -- unencoded. .El .Pp There are three forms of encoding. |