Bug 1167 - fcntl(2) refers to non-existent F_DUPED cmd.
Summary: fcntl(2) refers to non-existent F_DUPED cmd.
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1996-05-01 23:00 UTC by James Raynard
Modified: 1996-05-01 23:21 UTC (History)
0 users

See Also:


Attachments
file.diff (786 bytes, patch)
1996-05-01 23:00 UTC, James Raynard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.