To: None <gnats-bugs@gnats.netbsd.org>
From: John F. Woods <jfw@jfwhome.funhouse.com>
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
>Last-Modified:
>Originator: John F. Woods
>Organization:
Misanthropes-R-Us
>Release: netbsd-current Jan 7 1999
>Environment:
System: NetBSD jfwhome.funhouse.com 1.3G NetBSD 1.3G (JFW) #40: Sun Aug 9 23:59:09 EDT 1998 jfw@jfwhome.funhouse.com:/usr/src/sys/arch/i386/compile/JFW i386
>Description:
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>.
>How-To-Repeat:
RTFM. Do what it says. Compile. Lose.
>Fix:
Add this line to the SYNOPSIS:
#include <fcntl.h>
>Audit-Trail:
>Unformatted: