Subject: misc/10325: fcntl(2) does not document l_type explicitly.
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <wes@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 06/08/2000 09:21:11
>Number: 10325
>Category: misc
>Synopsis: fcntl(2) does not clearly document possible values for l_type
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 08 09:22:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Bill Sommerfeld
>Release: 20000606
>Organization:
>Environment:
System: NetBSD thunk 1.4ZA NetBSD 1.4ZA (VAIO) #71: Tue Jun 6 12:09:02 EDT 2000 wes@thunk:/usr/wes/sys-current/arch/i386/compile/VAIO i386
>Description:
The fcntl(2) man page does not clearly document possible
values for l_type; F_WRLCK, F_RDLCK, and F_UNLCK are mentioned
in the F_SETLK section, but nowhere does it mention that they
should be stuffed into the l_type field of struct flock.
>How-To-Repeat:
read man page
>Fix:
should be trivial.
>Release-Note:
>Audit-Trail:
>Unformatted: