diff options
Diffstat (limited to 'lib/libc')
73 files changed, 301 insertions, 302 deletions
diff --git a/lib/libc/db/man/btree.3 b/lib/libc/db/man/btree.3 index 8b89622734d..2e0f7dafecf 100644 --- a/lib/libc/db/man/btree.3 +++ b/lib/libc/db/man/btree.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: btree.3,v 1.20 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: btree.3,v 1.21 2014/01/21 03:15:44 schwarze Exp $ .\" $NetBSD: btree.3,v 1.6 1996/05/03 21:26:48 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)btree.3 8.4 (Berkeley) 8/18/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt BTREE 3 .Os .Sh NAME @@ -56,7 +56,7 @@ associated key/data pairs. The btree access method specific data structure provided to .Fn dbopen is defined in the -.Aq Pa db.h +.In db.h include file as follows: .Bd -literal -offset indent typedef struct { diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3 index 9ea79defa5c..9b9e37b4c9d 100644 --- a/lib/libc/db/man/dbopen.3 +++ b/lib/libc/db/man/dbopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dbopen.3,v 1.26 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: dbopen.3,v 1.27 2014/01/21 03:15:44 schwarze Exp $ .\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)dbopen.3 8.5 (Berkeley) 1/2/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt DBOPEN 3 .Os .Sh NAME @@ -117,7 +117,7 @@ The argument is of type .Fa DBTYPE (as defined in the -.Aq Pa db.h +.In db.h include file) and may be set to .Dv DB_BTREE , .Dv DB_HASH , @@ -140,7 +140,7 @@ returns a pointer to a DB structure on success and .Dv NULL on error. The DB structure is defined in the -.Aq Pa db.h +.In db.h include file, and contains at least the following fields: .Bd -literal -offset indent typedef struct { diff --git a/lib/libc/db/man/hash.3 b/lib/libc/db/man/hash.3 index 3d024607cf9..b5ada8331ec 100644 --- a/lib/libc/db/man/hash.3 +++ b/lib/libc/db/man/hash.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hash.3,v 1.16 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: hash.3,v 1.17 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: hash.3,v 1.6 1996/05/03 21:26:50 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)hash.3 8.6 (Berkeley) 8/18/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt HASH 3 .Os .Sh NAME @@ -55,7 +55,7 @@ The hash data structure is an extensible, dynamic hashing scheme. The access method specific data structure provided to .Fn dbopen is defined in the -.Aq Pa db.h +.In db.h include file as follows: .Bd -literal -offset indent typedef struct { diff --git a/lib/libc/db/man/recno.3 b/lib/libc/db/man/recno.3 index 9795b8defa8..2f61871c3c4 100644 --- a/lib/libc/db/man/recno.3 +++ b/lib/libc/db/man/recno.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recno.3,v 1.18 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: recno.3,v 1.19 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: recno.3,v 1.6 1996/05/03 21:26:51 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)recno.3 8.5 (Berkeley) 8/18/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RECNO 3 .Os .Sh NAME @@ -64,7 +64,7 @@ The access method specific data structure provided to .Fn dbopen is defined in the -.Aq Pa db.h +.In db.h include file as follows: .Bd -literal -offset indent typedef struct { @@ -170,7 +170,7 @@ The field of the key should be a pointer to a memory location of type .Vt recno_t , as defined in the -.Aq Pa db.h +.In db.h include file. This type is normally the largest unsigned integral type available to the implementation. diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index b81f3976e02..82bde43c240 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: confstr.3,v 1.19 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: confstr.3,v 1.20 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt CONFSTR 3 .Os .Sh NAME @@ -47,7 +47,7 @@ The .Fa name argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file -.Aq Pa unistd.h . +.In unistd.h . The .Fa len argument specifies the size of the buffer referenced by the diff --git a/lib/libc/gen/ctermid.3 b/lib/libc/gen/ctermid.3 index c6871bee17b..cf81cd6f458 100644 --- a/lib/libc/gen/ctermid.3 +++ b/lib/libc/gen/ctermid.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ctermid.3,v 1.9 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: ctermid.3,v 1.10 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt CTERMID 3 .Os .Sh NAME @@ -54,7 +54,7 @@ is assumed to point to an array at least .Dv L_ctermid (as defined in the include file -.Aq Pa stdio.h ) +.In stdio.h ) bytes long. .Pp The current implementation simply generates diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 56bba41957b..fc58ed94a7d 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: exec.3,v 1.24 2014/01/20 08:46:45 schwarze Exp $ +.\" $OpenBSD: exec.3,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 20 2014 $ +.Dd $Mdocdate: January 21 2014 $ .Dt EXEC 3 .Os .Sh NAME @@ -135,7 +135,7 @@ variable. If this variable isn't specified, .Dv _PATH_DEFPATH from -.Aq Pa paths.h +.In paths.h is used instead, its value being: .Pa /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin .Pp diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3 index 7812d4d0884..f9afdd5ead4 100644 --- a/lib/libc/gen/fnmatch.3 +++ b/lib/libc/gen/fnmatch.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fnmatch.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: fnmatch.3,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" .\" @(#)fnmatch.3 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt FNMATCH 3 .Os .Sh NAME @@ -63,7 +63,7 @@ is the bitwise inclusive .Tn OR of any of the following constants, which are defined in the include file -.Aq Pa fnmatch.h . +.In fnmatch.h . .Bl -tag -width FNM_PATHNAME .It Dv FNM_NOESCAPE Normally, every occurrence of a backslash diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index 64620e9239a..ba77f4c165a 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fts.3,v 1.30 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: fts.3,v 1.31 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)fts.3 8.5 (Berkeley) 4/16/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt FTS 3 .Os .Sh NAME @@ -86,7 +86,7 @@ order the walk of the hierarchy, or prune and/or re-visit portions of the hierarchy. .Pp Two structures are defined (and typedef'd) in the include file -.Aq Pa fts.h . +.In fts.h . The first is .Dv FTS , the structure that represents the file hierarchy itself. diff --git a/lib/libc/gen/ftw.3 b/lib/libc/gen/ftw.3 index bfbcef4fc5d..7aa5347d58c 100644 --- a/lib/libc/gen/ftw.3 +++ b/lib/libc/gen/ftw.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ftw.3,v 1.10 2014/01/19 05:21:12 schwarze Exp $ +.\" $OpenBSD: ftw.3,v 1.11 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -18,7 +18,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd $Mdocdate: January 19 2014 $ +.Dd $Mdocdate: January 21 2014 $ .Dt FTW 3 .Os .Sh NAME @@ -67,7 +67,7 @@ The function passes the aforementioned arguments plus a pointer to a .Dv FTW structure as defined by -.Aq Pa ftw.h +.In ftw.h (shown below): .Bd -literal -offset indent struct FTW { diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3 index bce6f4a225f..392c8c990ec 100644 --- a/lib/libc/gen/getcwd.3 +++ b/lib/libc/gen/getcwd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcwd.3,v 1.15 2013/09/30 12:02:33 millert Exp $ +.\" $OpenBSD: getcwd.3,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 30 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETCWD 3 .Os .Sh NAME @@ -71,7 +71,7 @@ argument and a size of .Dv PATH_MAX (as defined in the include file -.Aq Pa limits.h ) . +.In limits.h ) . Obviously, .Fa buf should be at least diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index 831643abdae..d3d35376727 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdomainname.3,v 1.24 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getdomainname.3,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETDOMAINNAME 3 .Os .Sh NAME @@ -93,7 +93,7 @@ SunOS 3.x. Domain names are limited to .Dv MAXHOSTNAMELEN (from -.Ao Pa sys/param.h Ac ) +.In sys/param.h ) characters, currently 256. This includes the terminating NUL character. .Pp diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3 index 3c87fcf80e0..e40f24fbb08 100644 --- a/lib/libc/gen/getfsent.3 +++ b/lib/libc/gen/getfsent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getfsent.3,v 1.12 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getfsent.3,v 1.13 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETFSENT 3 .Os .Sh NAME @@ -58,7 +58,7 @@ and functions each return a pointer to an object with the following structure containing the broken-out fields of a line in the file system description file, -.Aq Pa fstab.h . +.In fstab.h . .Bd -literal -offset indent struct fstab { char *fs_spec; /* block special device name */ diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3 index 5c27ddaabc1..a983dd9d0ce 100644 --- a/lib/libc/gen/getgrent.3 +++ b/lib/libc/gen/getgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrent.3,v 1.17 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getgrent.3,v 1.18 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETGRENT 3 .Os .Sh NAME @@ -72,7 +72,7 @@ Each line of the database is defined by the structure .Li struct group found in the include file -.Aq Pa grp.h : +.In grp.h : .Bd -literal -offset indent struct group { char *gr_name; /* group name */ diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index f9dde6585c3..4ecf2263029 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostname.3,v 1.24 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: gethostname.3,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETHOSTNAME 3 .Os .Sh NAME @@ -102,7 +102,7 @@ function call appeared in Host names are limited to .Dv MAXHOSTNAMELEN (from -.Ao Pa sys/param.h Ac ) +.In sys/param.h ) characters, currently 256. This includes the terminating NUL character. .Pp diff --git a/lib/libc/gen/getpass.3 b/lib/libc/gen/getpass.3 index 6cc72ba150b..6d5f6aa0d92 100644 --- a/lib/libc/gen/getpass.3 +++ b/lib/libc/gen/getpass.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpass.3,v 1.14 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getpass.3,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETPASS 3 .Os .Sh NAME @@ -51,7 +51,7 @@ input. The password may be up to .Dv _PASSWORD_LEN (currently 128, as defined in the -.Aq Pa pwd.h +.In pwd.h include file) characters in length. Any additional diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index f305189368d..9ec9fa146a8 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwent.3,v 1.25 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getpwent.3,v 1.26 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETPWENT 3 .Os .Sh NAME @@ -50,7 +50,7 @@ These functions operate on the password database file which is described in Each entry in the database is defined by the structure .Li struct passwd found in the include file -.Aq Pa pwd.h : +.In pwd.h : .Bd -literal -offset indent struct passwd { char *pw_name; /* user name */ diff --git a/lib/libc/gen/getpwnam.3 b/lib/libc/gen/getpwnam.3 index 3ce771b7350..42449b25e93 100644 --- a/lib/libc/gen/getpwnam.3 +++ b/lib/libc/gen/getpwnam.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwnam.3,v 1.4 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: getpwnam.3,v 1.5 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETPWNAM 3 .Os .Sh NAME @@ -56,7 +56,7 @@ These functions operate on the password database file which is described in Each entry in the database is defined by the structure .Li struct passwd found in the include file -.Aq Pa pwd.h : +.In pwd.h : .Bd -literal -offset indent struct passwd { char *pw_name; /* user name */ diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index b56a206e813..b994508c878 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.3,v 1.32 2013/09/30 12:02:34 millert Exp $ +.\" $OpenBSD: glob.3,v 1.33 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 30 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GLOB 3 .Os .Sh NAME @@ -49,7 +49,7 @@ function is a pathname generator that implements the rules for file name pattern matching used by the shell. .Pp The include file -.Aq Pa glob.h +.In glob.h defines the structure type .Li glob_t , which contains at least the following fields: @@ -107,7 +107,7 @@ is the bitwise inclusive .Tn OR of any of the following values defined in -.Aq Pa glob.h : +.In glob.h : .Bl -tag -width GLOB_ALTDIRFUNC .It Dv GLOB_APPEND Append pathnames generated to the ones from a previous call (or calls) @@ -391,7 +391,7 @@ 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 : +.In glob.h : .Bl -tag -width GLOB_NOCHECK .It Dv GLOB_NOSPACE An attempt to allocate memory failed, or if diff --git a/lib/libc/gen/isfdtype.3 b/lib/libc/gen/isfdtype.3 index 95763fc91f2..63f61d4e6f6 100644 --- a/lib/libc/gen/isfdtype.3 +++ b/lib/libc/gen/isfdtype.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isfdtype.3,v 1.8 2013/08/14 06:32:27 jmc Exp $ +.\" $OpenBSD: isfdtype.3,v 1.9 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -18,7 +18,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt ISFDTYPE 3 .Os .Sh NAME @@ -39,7 +39,7 @@ is of type A list of possible file types may be found in .Xr stat 2 and the -.Aq Pa sys/stat.h +.In sys/stat.h include file. .Sh RETURN VALUES The diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 3348ec587db..61d50728334 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.42 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: signal.3,v 1.43 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SIGNAL 3 .Os .Sh NAME @@ -94,7 +94,7 @@ signals, the function allows for any signal to be caught, to be ignored, or to generate an interrupt. These signals are defined in the file -.Aq Pa signal.h : +.In signal.h : .Bl -column "SIGVTALRM" "create core image" "terminal line hangup" .It Sy "Name" Ta Sy "Default Action" Ta Sy "Description" .It Dv SIGHUP Ta "terminate process" Ta "terminal line hangup" diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3 index 4d00fdf2a7c..5350a2358c9 100644 --- a/lib/libc/gen/sysconf.3 +++ b/lib/libc/gen/sysconf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysconf.3,v 1.32 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: sysconf.3,v 1.33 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSCONF 3 .Os .Sh NAME @@ -46,7 +46,7 @@ The .Fa name argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file -.Aq Pa unistd.h . +.In unistd.h . .Pp The available values are as follows: .Bl -tag -width "123456" diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index e8d7a3b0a90..9d6bfc39f72 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.227 2013/10/28 21:02:35 deraadt Exp $ +.\" $OpenBSD: sysctl.3,v 1.228 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: October 28 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSCTL 3 .Os .Sh NAME @@ -115,7 +115,7 @@ set to 0. The top level names are defined with a .Dv CTL_ prefix in -.Aq Pa sys/sysctl.h , +.In sys/sysctl.h , and are as follows. The next and subsequent levels down are found in the include files listed here, and described in separate sections below. @@ -364,7 +364,7 @@ and .Sy sensor_type enumeration are defined in -.Aq Pa sys/sensors.h . +.In sys/sensors.h . .It Dv HW_SERIALNO The serial number of the machine. .It Dv HW_SETPERF @@ -932,19 +932,19 @@ Return information on the System V style message facility. The .Sy msg_sysctl_info structure is defined in -.Aq Pa sys/msg.h . +.In sys/msg.h . .It Dv KERN_SYSVIPC_SEM_INFO Return information on the System V style semaphore facility. The .Sy sem_sysctl_info structure is defined in -.Aq Pa sys/sem.h . +.In sys/sem.h . .It Dv KERN_SYSVIPC_SHM_INFO Return information on the System V style shared memory facility. The .Sy shm_sysctl_info structure is defined in -.Aq Pa sys/shm.h . +.In sys/shm.h . .El .It Dv KERN_SYSVMSG Returns 1 if System V style message queue functionality is available on this @@ -2181,51 +2181,51 @@ is unsuccessful, \-1 is returned and is set appropriately. .Sh FILES .Bl -tag -width "uvm/uvmXswapXencrypt.h " -compact -.It Aq Pa sys/sysctl.h +.It In sys/sysctl.h definitions for top level identifiers, second level kernel and hardware identifiers, and user level identifiers -.It Aq Pa sys/socket.h +.It In sys/socket.h definitions for second level network identifiers -.It Aq Pa sys/gmon.h +.It In sys/gmon.h definitions for third level profiling identifiers -.It Aq Pa ufs/ffs/ffs_extern.h +.It In ufs/ffs/ffs_extern.h definitions for third level virtual file system identifiers .Pq ffs -.It Aq Pa nfs/nfs.h +.It In nfs/nfs.h definitions for third level virtual file system identifiers .Pq nfs -.It Aq Pa uvm/uvm_param.h +.It In uvm/uvm_param.h definitions for second level virtual memory identifiers -.It Aq Pa uvm/uvm_swap_encrypt.h +.It In uvm/uvm_swap_encrypt.h definitions for third level virtual memory identifiers -.It Aq Pa net/if.h +.It In net/if.h definitions for packet input/output queue identifiers -.It Aq Pa net/pipex.h +.It In net/pipex.h definitions for third level PIPEX identifiers -.It Aq Pa netinet/in.h +.It In netinet/in.h definitions for third level IPv4/v6 identifiers and fourth level .Tn IP and .Tn IPv6 identifiers -.It Aq Pa netinet/icmp_var.h +.It In netinet/icmp_var.h definitions for fourth level .Tn ICMP identifiers -.It Aq Pa netinet/icmp6.h +.It In netinet/icmp6.h definitions for fourth level .Tn ICMPv6 identifiers -.It Aq Pa netinet/tcp_var.h +.It In netinet/tcp_var.h definitions for fourth level .Tn TCP identifiers -.It Aq Pa netinet/udp_var.h +.It In netinet/udp_var.h definitions for fourth level .Tn UDP identifiers -.It Aq Pa machine/cpu.h +.It In machine/cpu.h definitions for second level CPU identifiers .El .Sh ERRORS diff --git a/lib/libc/gen/uname.3 b/lib/libc/gen/uname.3 index 0c3e259b528..5c6cb200413 100644 --- a/lib/libc/gen/uname.3 +++ b/lib/libc/gen/uname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uname.3,v 1.14 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: uname.3,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1994 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt UNAME 3 .Os .Sh NAME @@ -47,7 +47,7 @@ the current system into the structure referenced by The .Li utsname structure is defined in the -.Aq Pa sys/utsname.h +.In sys/utsname.h header file, and contains the following members: .Pp .Bl -tag -width nodenameXXXX -offset indent -compact diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3 index ed83890a1eb..9395ca92257 100644 --- a/lib/libc/gen/utime.3 +++ b/lib/libc/gen/utime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utime.3,v 1.19 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: utime.3,v 1.20 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt UTIME 3 .Os .Sh NAME @@ -61,7 +61,7 @@ If is non-null, it specifies a pointer to a .Li utimbuf structure, as defined in -.Aq Pa utime.h : +.In utime.h : .Bd -literal -offset indent struct utimbuf { time_t actime; /* Access time */ diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3 index 061206d3149..2443bd4379c 100644 --- a/lib/libc/gmon/moncontrol.3 +++ b/lib/libc/gmon/moncontrol.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: moncontrol.3,v 1.6 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: moncontrol.3,v 1.7 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MONCONTROL 3 .Os .Sh NAME @@ -88,8 +88,9 @@ have their execution time measured. Profiling begins on return from .Fn monstartup . .Sh FILES -.Bl -tag -width Pa -compact -.It Pa gmon.out execution data file +.Bl -tag -width gmon.out -compact +.It Pa gmon.out +execution data file .El .Sh SEE ALSO .Xr cc 1 , diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3 index 57bda8ec63f..a5f5cde8634 100644 --- a/lib/libc/locale/nl_langinfo.3 +++ b/lib/libc/locale/nl_langinfo.3 @@ -1,9 +1,9 @@ -.\" $OpenBSD: nl_langinfo.3,v 1.9 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: nl_langinfo.3,v 1.10 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Written by J.T. Conklin <jtc@netbsd.org>. .\" Public domain. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt NL_LANGINFO 3 .Os .Sh NAME @@ -22,7 +22,7 @@ set by the program's locale. The names and values of .Fa item are defined in -.Aq Pa langinfo.h . +.In langinfo.h . .Sh RETURN VALUES .Fn nl_langinfo returns a pointer to an empty string if diff --git a/lib/libc/net/gai_strerror.3 b/lib/libc/net/gai_strerror.3 index 680c8d4e4a6..e0373eb91e1 100644 --- a/lib/libc/net/gai_strerror.3 +++ b/lib/libc/net/gai_strerror.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gai_strerror.3,v 1.8 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: gai_strerror.3,v 1.9 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GAI_STRERROR 3 .Os .Sh NAME @@ -38,7 +38,7 @@ or .Xr getnameinfo 3 . .Pp The following error codes and their meaning are defined in -.Aq Pa netdb.h : +.In netdb.h : .Pp .Bl -tag -width "EAI_ADDRFAMILYXX" -offset indent -compact .It Dv EAI_ADDRFAMILY diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index cea57624ef4..db4417ab358 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getaddrinfo.3,v 1.53 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getaddrinfo.3,v 1.54 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETADDRINFO 3 .Os .Sh NAME @@ -70,7 +70,7 @@ must be non-null. is an optional pointer to a .Li struct addrinfo , as defined by -.Aq Pa netdb.h : +.In netdb.h : .Bd -literal struct addrinfo { int ai_flags; /* input flags */ diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3 index c1ab2e7679d..c5aab48b209 100644 --- a/lib/libc/net/getifaddrs.3 +++ b/lib/libc/net/getifaddrs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getifaddrs.3,v 1.17 2013/08/14 12:38:15 jmc Exp $ +.\" $OpenBSD: getifaddrs.3,v 1.18 2014/01/21 03:15:45 schwarze Exp $ .\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp .\" .\" Copyright (c) 1995, 1999 @@ -21,7 +21,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETIFADDRS 3 .Os .Sh NAME @@ -44,7 +44,7 @@ on the local machine in the memory referenced by The list consists of .Nm ifaddrs structures, as defined in the include file -.Aq Pa ifaddrs.h . +.In ifaddrs.h . The .Nm ifaddrs structure contains at least the following entries: @@ -103,7 +103,7 @@ For addresses it contains a pointer to the .Li struct if_data (as defined in include file -.Aq Pa net/if.h ) +.In net/if.h ) which contains various interface attributes and statistics. For all other address families, .Fa ifa_data @@ -149,11 +149,11 @@ since .Ox 2.7 . .Sh BUGS If both -.Aq Pa net/if.h +.In net/if.h and -.Aq Pa ifaddrs.h +.In ifaddrs.h are being included, -.Aq Pa net/if.h +.In net/if.h .Em must be included before -.Aq Pa ifaddrs.h . +.In ifaddrs.h . diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 644da7962e6..d023b2523d4 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnameinfo.3,v 1.45 2013/07/10 07:07:12 jmc Exp $ +.\" $OpenBSD: getnameinfo.3,v 1.46 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 10 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETNAMEINFO 3 .Os .Sh NAME @@ -75,7 +75,7 @@ the maximum value for is .Dv NI_MAXSERV , as defined by -.Aq Pa netdb.h . +.In netdb.h . If a length parameter is zero, no string will be stored. Otherwise, enough space must be provided to store the host name or service string plus a byte for the NUL terminator. diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index 7ca28c6b92a..5e6e7f2fdbc 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/lib/libc/net/if_indextoname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: if_indextoname.3,v 1.14 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: if_indextoname.3,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt IF_NAMETOINDEX 3 .Os .Sh NAME @@ -73,7 +73,7 @@ bytes into which the interface name corresponding to the specified index is returned. .Pf ( Dv IF_NAMESIZE is also defined in -.Aq Pa net/if.h +.In net/if.h and its value includes a terminating NUL byte at the end of the interface name.) This pointer is also the return value of the function. @@ -87,7 +87,7 @@ returns an array of structures. .Vt if_nameindex is also defined in -.Aq Pa net/if.h , +.In net/if.h , and is as follows: .Bd -literal -offset indent struct if_nameindex { diff --git a/lib/libc/net/inet6_opt_init.3 b/lib/libc/net/inet6_opt_init.3 index 973f1e27fbb..dd7ab53f6f5 100644 --- a/lib/libc/net/inet6_opt_init.3 +++ b/lib/libc/net/inet6_opt_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_opt_init.3,v 1.5 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_OPT_INIT 3 .Os .\" @@ -70,7 +70,7 @@ formatting rules specified in Appendix B in RFC 2460, i.e. that the largest field is placed last in the option. The function prototypes for these functions are all contained in the header file -.Aq Pa netinet/in.h . +.In netinet/in.h . .\" .Ss inet6_opt_init The diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3 index 6c282a6f818..4b156636f78 100644 --- a/lib/libc/net/inet6_option_space.3 +++ b/lib/libc/net/inet6_option_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_option_space.3,v 1.23 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_option_space.3,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_option_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_OPTION_SPACE 3 .Os .\" @@ -74,7 +74,7 @@ part of the Kame libraries, to help developers create, change, and parse Hop-by-Hop and Destination options. All of the prototypes for the option functions are defined in the -.Aq Pa netinet/in.h +.In netinet/in.h header file. .\" .Ss inet6_option_space diff --git a/lib/libc/net/inet6_rth_space.3 b/lib/libc/net/inet6_rth_space.3 index 6b09e6fa886..fcd023481fb 100644 --- a/lib/libc/net/inet6_rth_space.3 +++ b/lib/libc/net/inet6_rth_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_rth_space.3,v 1.5 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_rth_space.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_RTH_SPACE 3 .Os .\" @@ -64,10 +64,10 @@ The RFC uses the word .Dq segments to describe addresses and that is the term used here as well. All of the functions are defined in the header file -.Aq Pa netinet/in.h . +.In netinet/in.h . The functions described in this manual page all operate on routing header structures which are defined in -.Aq Pa netinet/ip6.h +.In netinet/ip6.h but which should not need to be modified outside the use of this API. The size and shape of the route header structures may change, so using the APIs is a more portable, long term, solution. diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3 index 65afc5a734b..c72e84ff1a2 100644 --- a/lib/libc/net/inet6_rthdr_space.3 +++ b/lib/libc/net/inet6_rthdr_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_rthdr_space.3,v 1.22 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_rthdr_space.3,v 1.23 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_rthdr_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_RTHDR_SPACE 3 .Os .\" @@ -76,7 +76,7 @@ The eight functions are split into two groups, the first of which builds the header and the second of which can parse it. The function prototypes for these functions are all in the -.Aq Pa netinet/in.h +.In netinet/in.h header. Although direct manipulation of a routing header is possible, this set of APIs make it unnecessary and such direct manipulation diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index 77659c28b73..447aa23ff16 100644 --- a/lib/libc/net/rcmd.3 +++ b/lib/libc/net/rcmd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcmd.3,v 1.28 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: rcmd.3,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RCMD 3 .Os .Sh NAME @@ -232,9 +232,9 @@ The first argument of is typed as .Li "void *" to avoid dependency between -.Aq Pa unistd.h +.In unistd.h and -.Aq Pa sys/socket.h . +.In sys/socket.h . .Sh DIAGNOSTICS The .Fn rcmd diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index fb67c83b053..93b365a619f 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.28 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: resolver.3,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RESOLVER 3 .Os .Sh NAME @@ -108,7 +108,7 @@ Most of the values have reasonable defaults and can be ignored. Options stored in .Li _res.options are defined in -.Aq Pa resolv.h +.In resolv.h and are as follows. Options are stored as a simple bit mask containing the bitwise OR of the options enabled. @@ -253,7 +253,7 @@ and .Fa type fields are defined in -.Aq Pa arpa/nameser.h . +.In arpa/nameser.h . .Pp The .Fn res_search @@ -279,7 +279,7 @@ The query type is usually .Dv QUERY , but can be any of the query types defined in -.Aq Pa arpa/nameser.h . +.In arpa/nameser.h . The domain name for the query is given by .Fa dname . .Fa newrr diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index 7e57356b00b..357858f5869 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: regex.3,v 1.23 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: regex.3,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -35,7 +35,7 @@ .\" .\" @(#)regex.3 8.4 (Berkeley) 3/20/94 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt REGEX 3 .Os .Sh NAME @@ -78,7 +78,7 @@ frees any dynamically allocated storage used by the internal form of an RE. .Pp The header -.Aq Pa regex.h +.In regex.h declares two structure types, .Li regex_t and diff --git a/lib/libc/rpc/xdr.3 b/lib/libc/rpc/xdr.3 index a9b89fc654c..e6e4c9662df 100644 --- a/lib/libc/rpc/xdr.3 +++ b/lib/libc/rpc/xdr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: xdr.3,v 1.24 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: xdr.3,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .\" Copyright (c) 2010, Oracle America, Inc. @@ -30,7 +30,7 @@ .\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt XDR 3 .Os .Sh NAME @@ -539,7 +539,7 @@ routines that require a function parameter, but where nothing is to be done. .Pp .Fn xdr_wrapstring is a primitive that calls -.Pa "xdr_string(xdrs, sp, MAXUN.UNSIGNED );" +.Nm xdr_string Ns Pq Fa xdrs , sp , Dv MAXUN.UNSIGNED where .Dv MAXUN.UNSIGNED is the maximum value of an unsigned integer. diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3 index a57bba64681..bf64c3be0d8 100644 --- a/lib/libc/stdio/funopen.3 +++ b/lib/libc/stdio/funopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: funopen.3,v 1.15 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: funopen.3,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt FUNOPEN 3 .Os .Sh NAME @@ -116,7 +116,7 @@ An error on does not keep the stream open. .Pp As a convenience, the include file -.Aq Pa stdio.h +.In stdio.h defines the macros .Fn fropen and diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3 index b3c07392ca2..f152ce731c4 100644 --- a/lib/libc/stdio/tmpnam.3 +++ b/lib/libc/stdio/tmpnam.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmpnam.3,v 1.18 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: tmpnam.3,v 1.19 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt TMPFILE 3 .Os .Sh NAME @@ -77,7 +77,7 @@ directory, which did not reference an existing file at some indeterminate point in the past. .Dv P_tmpdir is defined in the include file -.Aq Pa stdio.h . +.In stdio.h . If the argument .Fa str is non-null, the file name is copied to the buffer it references. @@ -93,7 +93,7 @@ is expected to be at least bytes in length. .Dv L_tmpnam is defined in the include file -.Aq Pa stdio.h . +.In stdio.h . .Pp The .Fn tempnam diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 9e37f52c103..6661e03841d 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -25,9 +25,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.43 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: getopt.3,v 1.44 2014/01/21 03:15:45 schwarze Exp $ .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETOPT 3 .Os .Sh NAME @@ -321,7 +321,7 @@ This was changed by to decouple .Fn getopt from -.Aq Pa stdio.h . +.In stdio.h . .Pp It is possible to handle digits as option letters. This allows diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3 index 2de043a88d6..a9fc343b664 100644 --- a/lib/libc/stdlib/rand.3 +++ b/lib/libc/stdlib/rand.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: rand.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $ +.\" $OpenBSD: rand.3,v 1.14 2014/01/21 03:15:45 schwarze Exp $ .\" -.Dd $Mdocdate: July 18 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RAND 3 .Os .Sh NAME @@ -58,7 +58,7 @@ function computes a sequence of pseudo-random integers in the range of 0 to .Dv RAND_MAX (as defined by the header file -.Aq Pa stdlib.h ) . +.In stdlib.h ) . .Pp The .Fn srand diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 484dde0cf20..e53f79dac75 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.23 2013/11/02 02:32:51 tedu Exp $ +.\" $OpenBSD: clock_gettime.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -85,7 +85,7 @@ providing accurate uptime measurement, both absolute and interval The structure pointed to by .Fa tp is defined in -.Aq Pa sys/time.h +.In sys/time.h as: .Bd -literal -offset indent struct timespec { diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index f27faf9fd2b..17a783aebd2 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.39 2013/10/20 07:40:39 jmc Exp $ +.\" $OpenBSD: execve.2,v 1.40 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" -.Dd $Mdocdate: October 20 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt EXECVE 2 .Os .Sh NAME @@ -268,7 +268,7 @@ The new process file is on a filesystem mounted with execution disabled .Pf ( Dv MNT_NOEXEC in -.Ao Pa sys/mount.h Ac ) . +.In sys/mount.h ) . .It Bq Er ENOEXEC The new process file has the appropriate access permission, but has an invalid magic number in its header. @@ -285,7 +285,7 @@ is larger than the system-imposed limit. The limit in the system as released is 262144 bytes .Pf ( Dv NCARGS in -.Ao Pa sys/param.h Ac ) . +.In sys/param.h ) . .It Bq Er EFAULT The new process file is not as long as indicated by the size values in its header. diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index fe5e9c2f802..a78cbe24d79 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getitimer.2,v 1.24 2013/11/02 02:32:51 tedu Exp $ +.\" $OpenBSD: getitimer.2,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: getitimer.2,v 1.6 1995/10/12 15:40:54 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getitimer.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETITIMER 2 .Os .Sh NAME @@ -60,7 +60,7 @@ .Sh DESCRIPTION The system provides each process with three interval timers, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . The .Fn getitimer call returns the current value for the timer specified in @@ -139,7 +139,7 @@ restart interrupted system calls. .Pp The remaining five functions are in fact macros for manipulating time values, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . .Pp .Fn timerclear "a" sets the time value in diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index a123e7bd8b2..36222c66936 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.40 2013/06/02 01:07:47 benno Exp $ +.\" $OpenBSD: getsockopt.2,v 1.41 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: June 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -98,7 +98,7 @@ may be and any specified options are passed uninterpreted to the appropriate protocol module for interpretation. The include file -.Aq Pa sys/socket.h +.In sys/socket.h contains definitions for socket level options, described below. Options at other protocol levels vary in format and name; consult the appropriate entries in section 4 of the manual. @@ -115,7 +115,7 @@ or zero if the option is to be disabled. uses a .Li struct linger parameter, defined in -.Aq Pa sys/socket.h , +.In sys/socket.h , which specifies the desired state of the option and the linger interval (see below). .Dv SO_SNDTIMEO @@ -124,7 +124,7 @@ and use a .Li struct timeval parameter, defined in -.Aq Pa sys/time.h . +.In sys/time.h . .Pp The following options are recognized at the socket level. Except as noted, each may be examined with diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index be24bd5d704..6558e919fe6 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gettimeofday.2,v 1.26 2013/10/24 07:34:56 guenther Exp $ +.\" $OpenBSD: gettimeofday.2,v 1.27 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" -.Dd $Mdocdate: October 24 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -73,7 +73,7 @@ The structures pointed to by and .Fa tzp are defined in -.Aq Pa sys/time.h +.In sys/time.h as: .Bd -literal struct timeval { diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 7f57d2f66ae..462e7f716ce 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.47 2013/09/30 12:02:35 millert Exp $ +.\" $OpenBSD: intro.2,v 1.48 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: September 30 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INTRO 2 .Os .Sh NAME @@ -57,7 +57,7 @@ Portable applications must not depend on this definition, and should only use .Va errno as defined in -.Aq Pa errno.h . +.In errno.h . When a system call detects an error, it returns an integer value indicating failure (usually \-1) and sets the variable .Va errno @@ -74,7 +74,7 @@ to the type and circumstances of the call. .Pp The following is a complete list of the errors and their names as given in -.Aq Pa sys/errno.h . +.In sys/errno.h . .Bl -hang -width Ds .It Er 0 Em "Error 0" . Not used. @@ -110,7 +110,7 @@ The number of bytes used for the argument and environment list of the new process exceeded the limit .Dv NCARGS (specified in -.Aq Pa sys/param.h ) . +.In sys/param.h ) . .It Er 8 ENOEXEC Em "Exec format error" . A request was made to execute a file that, although it has the appropriate permissions, was not in the format required for an executable file. diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 6c8ca2ab4a5..80132765a1b 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ioctl.2,v 1.16 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: ioctl.2,v 1.17 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ioctl.2,v 1.5 1995/02/27 12:33:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ioctl.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt IOCTL 2 .Os .Sh NAME @@ -78,7 +78,7 @@ in bytes. Macros and defines used in specifying an ioctl .Fa request are located in the file -.Ao Pa sys/ioctl.h Ac . +.In sys/ioctl.h . .Sh GENERIC IOCTLS Some ioctls are applicable to any file descriptor. These include: diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 6a7c3475147..3de67750dee 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.28 2013/08/14 10:06:02 guenther Exp $ +.\" $OpenBSD: kqueue.2,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -84,7 +84,7 @@ events to the user. is a pointer to an array of .Va kevent structures, as defined in -.Aq Pa sys/event.h . +.In sys/event.h . All changes contained in the .Fa changelist are applied before any pending events are read from the queue. diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index dcf8dfad10f..5baa17e9860 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.23 2013/06/01 09:49:53 miod Exp $ +.\" $OpenBSD: ktrace.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 1 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt KTRACE 2 .Os .Sh NAME @@ -159,7 +159,7 @@ bytes of a .Fa ktr_type record. The type specific records are defined in the -.Aq Pa sys/ktrace.h +.In sys/ktrace.h include file. .Sh RETURN VALUES On successful completion a value of 0 is returned. diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index b040136d7fc..5295f09dc0d 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.42 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: mmap.2,v 1.43 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mmap.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MMAP 2 .Os .Sh NAME @@ -187,7 +187,7 @@ is set to indicate the error. The symbol .Dv MAP_FAILED is defined in the header -.Ao Pa sys/mman.h Ac . +.In sys/mman.h . A successful return from .Nm will never return the value diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 28c404a0e88..e308bbdfbea 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.2,v 1.40 2011/11/17 14:26:14 schwarze Exp $ +.\" $OpenBSD: mount.2,v 1.41 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mount.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 17 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MOUNT 2 .Os .Sh NAME @@ -111,7 +111,7 @@ The .Fa type argument defines the type of the filesystem. The types of filesystems known to the system are defined in -.Aq Pa sys/mount.h . +.In sys/mount.h . .Fa data is a pointer to a structure that contains the type specific arguments to mount. diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index e5dd1c183ec..282f0fdda5f 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.13 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: msgctl.2,v 1.14 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MSGCTL 2 .Os .Sh NAME @@ -55,7 +55,7 @@ may be altered by and parts of which determine the actions of .Fn msgctl . The data structure is defined in -.Aq Pa sys/msg.h +.In sys/msg.h and contains (amongst others) the following members: .Bd -literal struct msqid_ds { @@ -76,7 +76,7 @@ The structure used inside the .Fa msqid_ds structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { @@ -126,9 +126,8 @@ Values for that exceed the system limit .Pf ( Dv MSGMNB from -.Aq Pa sys/msg.h ) +.In sys/msg.h ) are silently truncated to that limit. -.Pp .It Dv IPC_RMID Remove the message queue specified by .Fa msqid diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index eb29bafd2a1..dd9c72ce7f0 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pathconf.2,v 1.20 2013/03/28 20:37:56 jmc Exp $ +.\" $OpenBSD: pathconf.2,v 1.21 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: pathconf.2,v 1.2 1995/02/27 12:35:22 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: March 28 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt PATHCONF 2 .Os .Sh NAME @@ -66,7 +66,7 @@ The .Fa name argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file -.Aq Pa unistd.h . +.In unistd.h . .Pp The available values are as follows: .Bl -tag -width "123456" diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 797472251ed..70cf6a3a9b6 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ptrace.2,v 1.27 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: ptrace.2,v 1.28 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt PTRACE 2 .Os .Sh NAME @@ -314,7 +314,7 @@ under This request reads the traced process' machine registers into the .Dq Li struct reg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_SETREGS Pq all platforms @@ -323,7 +323,7 @@ This request is the converse of it loads the traced process' machine registers from the .Dq Li struct reg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .\" .It Dv PT_SYSCALL @@ -345,10 +345,10 @@ pointed to by .\" element is of type .\" .Dq Li struct mdproc , .\" which should be declared by including -.\" .Aq Pa sys/param.h , -.\" .Aq Pa sys/user.h , +.\" .In sys/param.h , +.\" .In sys/user.h , .\" and -.\" .Aq Pa machine/proc.h , +.\" .In machine/proc.h , .\" and contains the following fields (among others): .\" .Bl -item -compact -offset indent .\" .It @@ -438,7 +438,7 @@ This request reads the traced process' floating-point registers into the .Dq Li struct fpreg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Xo Dv PT_SETFPREGS @@ -449,14 +449,14 @@ This request is the converse of it loads the traced process' floating-point registers from the .Dq Li struct fpreg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_GETXMMREGS Pq i386 only This request reads the traced process' XMM registers into the .Dq Li struct xmmregs (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_SETXMMREGS Pq i386 only @@ -465,7 +465,7 @@ This request is the converse of it loads the traced process' XMM registers from the .Dq Li struct xmmregs (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_WCOOKIE Pq sparc and sparc64 only diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index c50033cdc43..53b32fb988a 100644 --- a/lib/libc/sys/reboot.2 +++ b/lib/libc/sys/reboot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: reboot.2,v 1.15 2011/12/03 23:01:21 schwarze Exp $ +.\" $OpenBSD: reboot.2,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: reboot.2,v 1.5 1995/02/27 12:36:02 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)reboot.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: December 3 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt REBOOT 2 .Os .Sh NAME @@ -51,7 +51,7 @@ automatically in the event of unrecoverable system failures. .Fa howto is a mask of options; the system call interface allows the following options, defined in the include file -.Aq Pa sys/reboot.h , +.In sys/reboot.h , to be passed to the new kernel or the new bootstrap and init programs. .Bl -tag -width RB_INITNAMEA @@ -169,7 +169,7 @@ The caller is not the superuser. .Sh HISTORY The .Fn reboot -function call appeared in +system call finally appeared in .Bx 4.0 . .Sh BUGS Not all platforms support all possible arguments. diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 7bf2274ae81..51aac36f0ad 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recv.2,v 1.37 2011/07/19 18:24:40 mikeb Exp $ +.\" $OpenBSD: recv.2,v 1.38 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)recv.2 8.3 (Berkeley) 2/21/94 .\" -.Dd $Mdocdate: July 19 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RECV 2 .Os .Sh NAME @@ -163,7 +163,7 @@ call uses a .Fa msghdr structure to minimize the number of directly supplied parameters. This structure has the following form, as defined in -.Aq Pa sys/socket.h : +.In sys/socket.h : .Bd -literal struct msghdr { void *msg_name; /* optional address */ diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index d94fb75d9e3..2ba88333fd2 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semctl.2,v 1.14 2011/02/02 09:37:09 fgsch Exp $ +.\" $OpenBSD: semctl.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: February 2 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SEMCTL 2 .Os .Sh NAME @@ -70,7 +70,7 @@ structure used in the and .Dv IPC_STAT commands is defined as follows in -.Aq Pa sys/sem.h : +.In sys/sem.h : .Bd -literal struct semid_ds { struct ipc_perm sem_perm; /* operation permissions */ @@ -90,7 +90,7 @@ structure used inside the semid_ds .Ef structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index a81be6620fb..974bbf1d2a7 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semop.2,v 1.15 2007/09/03 14:37:52 millert Exp $ +.\" $OpenBSD: semop.2,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: September 3 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SEMOP 2 .Os .Sh NAME @@ -137,7 +137,7 @@ The value of .Fa nsops is too big. The maximum is specified in MAX_SOPS in -.Aq Pa sys/sem.h . +.In sys/sem.h . .It Bq Er EFBIG .Va sem_num in one of the sem_buf structures is less than 0, or greater than the actual diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 20addde9d44..30c8dbe9b6c 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmat.2,v 1.14 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: shmat.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SHMAT 2 .Os .Sh NAME @@ -67,7 +67,7 @@ the system will round the address down to a multiple of bytes .Pf ( Dv SHMLBA is defined in -.Aq Pa sys/shm.h ) . +.In sys/shm.h ) . .Pp A shared memory segment can be mapped read-only by specifying the .Dv SHM_RDONLY diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index f53d95428a0..02215e90fc2 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmctl.2,v 1.14 2011/10/27 07:56:28 robert Exp $ +.\" $OpenBSD: shmctl.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: October 27 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SHMCTL 2 .Os .Sh NAME @@ -56,7 +56,7 @@ and parts of which determine the actions of .Fn shmctl . .Pp This structure is defined as follows in -.Aq Pa sys/shm.h : +.In sys/shm.h : .Bd -literal struct shmid_ds { struct ipc_perm shm_perm; /* operation permissions */ @@ -80,7 +80,7 @@ structure used inside the shmid_ds .Ef structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { @@ -121,7 +121,6 @@ has an effective user ID equal to either or .Va shm_perm.uid in the data structure associated with the shared memory segment. -.Pp .It Dv IPC_RMID Mark the shared memory segment specified by .Fa shmid diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index d99f1334a32..76ab2a94cb9 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaction.2,v 1.53 2013/08/14 08:46:07 jmc Exp $ +.\" $OpenBSD: sigaction.2,v 1.54 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SIGACTION 2 .Os .Sh NAME @@ -247,7 +247,7 @@ If this bit is set, the 2nd argument of the handler is set to be a pointer to a .Em siginfo_t structure as described in -.Aq Pa sys/siginfo.h . +.In sys/siginfo.h . The .Em siginfo_t structure is a part of @@ -301,7 +301,7 @@ signals that restart pending system calls continue to do so. .Pp The following is a list of all signals with names as in the include file -.Aq Pa signal.h : +.In signal.h : .Bl -column "SIGVTALARM" "create core image" "Description" .It Sy "Name" Ta Sy "Default Action" Ta Sy "Description" .It Dv SIGHUP Ta "terminate process" Ta "terminal line hangup" @@ -372,7 +372,7 @@ option is set, is a pointer to a .Dv siginfo_t as described in -.Aq Pa sys/siginfo.h . +.In sys/siginfo.h . If .Dv SA_SIGINFO is not set, this pointer will be @@ -387,7 +387,7 @@ will be called instead of the function specified by is a pointer to the .Fa sigcontext structure (defined in -.Aq Pa signal.h ) , +.In signal.h ) , used to restore the context from before the signal. .Sh ERRORS .Fn sigaction diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 63a8a36268e..28c1e020b5f 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socket.2,v 1.35 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: socket.2,v 1.36 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)socket.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SOCKET 2 .Os .Sh NAME @@ -50,7 +50,7 @@ parameter specifies a communications domain within which communication will take place; this selects the protocol family which should be used. These families are defined in the include file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . The currently understood formats are: .Pp .Bl -tag -width "AF_IMPLINKXXX" -offset indent -compact @@ -196,7 +196,7 @@ of I/O events via The operation of sockets is controlled by socket level .Em options . These options are defined in the file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . .Xr setsockopt 2 and .Xr getsockopt 2 diff --git a/lib/libc/sys/sysarch.2 b/lib/libc/sys/sysarch.2 index 1fa3de7f5b4..b1f56325a06 100644 --- a/lib/libc/sys/sysarch.2 +++ b/lib/libc/sys/sysarch.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysarch.2,v 1.9 2007/05/31 19:19:34 jmc Exp $ +.\" $OpenBSD: sysarch.2,v 1.10 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: sysarch.2,v 1.4 1995/02/27 12:38:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991 Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" from: @(#)syscall.2 6.3 (Berkeley) 3/10/91 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSARCH 2 .Os .Sh NAME @@ -51,7 +51,7 @@ pointer. is a pointer to a structure defining the actual arguments of the function. Symbolic constants and argument structures for the architecture-dependent functions can be found in the header file -.Ao Pa machine/sysarch.h Ac . +.In machine/sysarch.h . .Pp The .Fn sysarch diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2 index 0b0f56325da..4dff0623f25 100644 --- a/lib/libc/sys/syscall.2 +++ b/lib/libc/sys/syscall.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syscall.2,v 1.10 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: syscall.2,v 1.11 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: syscall.2,v 1.4 1995/02/27 12:38:53 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)syscall.2 8.1 (Berkeley) 6/16/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSCALL 2 .Os .Sh NAME @@ -50,7 +50,7 @@ interface has the specified .Fa number with the specified arguments. Symbolic constants for system calls can be found in the header file -.Ao Pa sys/syscall.h Ac . +.In sys/syscall.h . .Pp Since different system calls have different return types, a prototype of diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 992008d8ec8..454e4c29258 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utimes.2,v 1.19 2013/11/02 17:25:34 espie Exp $ +.\" $OpenBSD: utimes.2,v 1.20 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: utimes.2,v 1.9 1996/04/23 10:34:16 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt UTIMES 2 .Os .Sh NAME @@ -160,7 +160,7 @@ and the effective user ID of the process does not match the owner of the file, and is not the superuser, and write access is denied. .It Bq Er EFAULT -.Pa File +.Fa file or .Fa times points outside the process's allocated address space. diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 9442cc6900d..d6cd436e645 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wait.2,v 1.24 2013/04/03 03:15:59 guenther Exp $ +.\" $OpenBSD: wait.2,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: April 3 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt WAIT 2 .Os .Sh NAME @@ -78,7 +78,7 @@ The .Fa wpid parameter specifies the set of child processes for which to wait. The following symbolic constants are currently defined in -.Aq Pa sys/wait.h : +.In sys/wait.h : .Bd -unfilled -offset indent #define WAIT_ANY (-1) /* any process */ #define WAIT_MYPGRP 0 /* any process in my process group */ diff --git a/lib/libc/termios/tcsetattr.3 b/lib/libc/termios/tcsetattr.3 index 6c15c0ce036..24910280c93 100644 --- a/lib/libc/termios/tcsetattr.3 +++ b/lib/libc/termios/tcsetattr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcsetattr.3,v 1.16 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: tcsetattr.3,v 1.17 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt TCSETATTR 3 .Os .Sh NAME @@ -98,7 +98,7 @@ structure. The unsigned integer .Li speed_t is typedef'd in the include file -.Aq Pa termios.h . +.In termios.h . On .Ox , the value of the integer corresponds directly to the baud rate being @@ -243,7 +243,7 @@ The field is created by .Tn OR Ns 'ing the following values, as specified in the include file -.Aq Pa termios.h . +.In termios.h . .Bl -tag -width "TCSADRAIN" .It Dv TCSANOW The change occurs immediately. diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3 index a1a4bd101f7..8299d1dcf57 100644 --- a/lib/libc/time/ctime.3 +++ b/lib/libc/time/ctime.3 @@ -1,7 +1,7 @@ -.\" $OpenBSD: ctime.3,v 1.40 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: ctime.3,v 1.41 2014/01/21 03:15:45 schwarze Exp $ .\" .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt CTIME 3 .Os .Sh NAME @@ -217,7 +217,7 @@ expressed in seconds. Declarations of all the functions and externals, and the .Li tm structure, are in the -.Aq Pa time.h +.In time.h header file. The structure (of type) .Li struct tm diff --git a/lib/libc/yp/ypclnt.3 b/lib/libc/yp/ypclnt.3 index ebc817925b7..f41fb0a1f3f 100644 --- a/lib/libc/yp/ypclnt.3 +++ b/lib/libc/yp/ypclnt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ypclnt.3,v 1.23 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: ypclnt.3,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt YPCLNT 3 .Os .Sh NAME @@ -81,9 +81,9 @@ For a general description of the YP subsystem, see .Xr yp 8 . .Pp For all functions, input values begin with -.Pa in +.Sq in and output values begin with -.Pa out . +.Sq out . Any output values of type .Em char ** should be the addresses of uninitialized character pointers. @@ -93,22 +93,22 @@ using This memory can later be freed by the user if there is no additional need for the data stored there. For -.Pa outkey +.Fa outkey and -.Pa outval , +.Fa outval , two extra bytes of memory are allocated for a .Ql \en and .Ql \e0 , which are not reflected in the values of -.Pa outkeylen +.Fa outkeylen or -.Pa outvallen . +.Fa outvallen . All occurrences of -.Pa indomain +.Fa indomain and -.Pa inmap +.Fa inmap must be non-null, NUL-terminated strings. All input strings which also have a corresponding length parameter cannot be null unless the corresponding @@ -127,9 +127,9 @@ The default domain name may be obtained by calling .Fn yp_get_default_domain , and should thus be used before all other YP calls in a client program. The value it places -.Pa outdomain +.Fa outdomain is suitable for use as the -.Pa indomain +.Fa indomain parameter to all subsequent YP calls. .Pp In order for YP lookup calls to succeed, the client process must be bound @@ -167,17 +167,17 @@ Provides the first key-value pair from the given map in the named domain. .It Fn yp_next Provides the next key-value pair in the given map. To obtain the second pair, the -.Pa inkey +.Fa inkey value should be the -.Pa outkey +.Fa outkey value provided by the initial call to .Fn yp_first . In the general case, the next key-value pair may be obtained by using the -.Pa outkey +.Fa outkey value from the previous call to .Fn yp_next as the value for -.Pa inkey . +.Fa inkey . .Pp Of course, the notions of .Dq first @@ -217,7 +217,7 @@ The third argument to this function provides a way to supply the name of a function to process each key-value pair in the map. .Fn yp_all returns after the entire transaction is complete, or the -.Pa foreach +.Fn foreach function decides that it does not want any more key-value pairs. The third argument to .Fn yp_all @@ -230,10 +230,10 @@ struct ypall_callback *incallback { .Ed .Pp The -.Em char *data +.Vt char * Ns Va data argument is an opaque pointer for use by the callback function. The -.Pa foreach +.Fn foreach function should return non-zero when it no longer wishes to process key-value pairs, at which time .Fn yp_all @@ -253,13 +253,13 @@ Where: .Bl -tag -width "inkey, inval" .It Fa instatus Holds one of the return status values described in -.Aq Pa rpcsvc/yp_prot.h : +.In rpcsvc/yp_prot.h : see .Fn ypprot_err below for a function that will translate YP protocol errors into a .Nm ypclnt layer error code as described in -.Aq Pa rpcsvc/ypclnt.h . +.In rpcsvc/ypclnt.h . .It Fa inkey, inval The key and value arguments are somewhat different here than described above. @@ -270,7 +270,7 @@ and is private to .Fn yp_all , and is overwritten with each subsequent key-value pair; therefore, the -.Pa foreach +.Fn foreach function should do something useful with the contents of that memory during each iteration. If the key-value pairs are not terminated with either @@ -278,14 +278,14 @@ If the key-value pairs are not terminated with either or .Ql \e0 in the map, then they will not be terminated as such when given to the -.Pa foreach +.Fn foreach function, either. .It Fa indata This is the contents of the -.Pa incallback->data +.Fa incallback Ns -> Ns Va data element of the callback structure. It is provided as a means to share state between the -.Pa foreach +.Fn foreach function and the user code. Its use is completely optional: cast it to something useful or simply ignore it. |