diff options
author | 1999-02-26 06:55:53 +0000 | |
---|---|---|
committer | 1999-02-26 06:55:53 +0000 | |
commit | 772234b231d0d7310477a62e9edc504c5cabb387 (patch) | |
tree | 857bfe339a873eacfee5f657519bbce7414cc21d /lib/libc | |
parent | .Ar -> .Fa and NULL is Dv (diff) | |
download | wireguard-openbsd-772234b231d0d7310477a62e9edc504c5cabb387.tar.xz wireguard-openbsd-772234b231d0d7310477a62e9edc504c5cabb387.zip |
Use .Fn for dbopen() declaration and add from Dv for NULL
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/db/man/dbopen.3 | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3 index 1d25af3b340..4f1dc27a4ba 100644 --- a/lib/libc/db/man/dbopen.3 +++ b/lib/libc/db/man/dbopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dbopen.3,v 1.4 1999/01/11 11:14:47 deraadt Exp $ +.\" $OpenBSD: dbopen.3,v 1.5 1999/02/26 06:55:53 millert Exp $ .\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -47,13 +47,8 @@ .Fd #include <fcntl.h> .Fd #include <limits.h> .Fd #include <db.h> -.Fo "DB * dbopen" -.Fa "const char *file" -.Fa "int flags" -.Fa "int mode" -.Fa "DBTYPE type" -.Fa "const void *openinfo" -.Fc +.Ft DB * +.Fn dbopen "const char *file" "int flags" "int mode" "DBTYPE type" "const void *openinfo" .Sh DESCRIPTION .Nm is the library interface to database files. @@ -75,7 +70,7 @@ opens for reading and/or writing. Files never intended to be preserved on disk may be created by setting the file parameter to -.Dv NULL. +.Dv NULL . .Pp The .Fa flags @@ -133,13 +128,16 @@ argument is a pointer to an access method specific structure described in the access method's manual page. If .Fa openinfo -is NULL, each access method will use defaults appropriate for the system +is +.Dv NULL , +each access method will use defaults appropriate for the system and the access method. .Pp .Nm -returns a pointer to a DB structure on success and NULL on error. -The DB structure is defined in the <db.h> include file, and contains at -least the following fields: +returns a pointer to a DB structure on success and +.Dv NULL +on error. The DB structure is defined in the <db.h> include file, +and contains at least the following fields: .Pp .Bl -item -compact typedef struct { |