Subject: lib/6782: dbopen manual page should mention
To: None <>
From: John F. Woods <>
List: netbsd-bugs
Date: 01/10/1999 14:02:28
>Number:         6782
>Category:       lib
>Synopsis:       dbopen manual page should mention <fcntl.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 10 11:20:00 1999
>Originator:     John F. Woods
>Release:        netbsd-current Jan 7 1999
System: NetBSD 1.3G NetBSD 1.3G (JFW) #40: Sun Aug 9 23:59:09 EDT 1998 i386

The dbopen(3) manual page says that one should include <sys/types.h>,
<limits.h>, and <db.h>.  It also says you should pass O_CREAT etc to
dbopen(), but that symbol is not defined by including those headers.
Dbopen(3) should mention <fcntl.h>.

RTFM.  Do what it says.  Compile.  Lose.


Add this line to the SYNOPSIS:

#include <fcntl.h>