From dc5b763cdf3c6cadfe7d212f26dec81f0fda3547 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 26 Feb 1999 06:55:54 +0000 Subject: Use .Fn for dbopen() declaration and add from Dv for NULL --- lib/libc/db/man/dbopen.3 | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'lib') 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 .Fd #include .Fd #include -.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 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 include file, +and contains at least the following fields: .Pp .Bl -item -compact typedef struct { -- cgit v1.2.3