Bug 1167

Summary: fcntl(2) refers to non-existent F_DUPED cmd.
Product: Documentation Reporter: James Raynard <jraynard>
Component: Books & ArticlesAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description James Raynard 1996-05-01 23:00:01 UTC
The "Errors" section of the fcntl(2) man page contains the following:-

[EMFILE]      Cmd is F_DUPFD and the maximum allowed number of file de-
                   scriptors are currently open.

...

[EMFILE]      The argument cmd is F_DUPED and the maximum number of file
                   descriptors permitted for the process are already in use,
                   or no file descriptors greater than or equal to arg are
                   available.

However, there is no such cmd as FD_DUPED.

Fix: Assuming F_DUPED is a typo and the second entry was meant to replace
the first, apply this diff in /usr/src/lib/libc/sys:-
How-To-Repeat: 
man fcntl
Comment 1 mpp freebsd_committer freebsd_triage 1996-05-01 23:20:47 UTC
State Changed
From-To: open->closed

Suggested fix applied.