Date: Wed, 1 May 1996 16:25:46 GMT From: James Raynard <jraynard@dial.pipex.com> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/1167: fcntl(2) refers to non-existent F_DUPED cmd. Message-ID: <199605011625.QAA00657@dial.pipex.com> Resent-Message-ID: <199605012200.PAA22310@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1167 >Category: docs >Synopsis: fcntl(2) refers to non-existent F_DUPED cmd. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed May 1 15:00:01 PDT 1996 >Last-Modified: >Originator: James Raynard >Organization: A FreeBSD box >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1.0-RELEASE >Description: 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. >How-To-Repeat: man fcntl >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:- --- fcntl.2~ Wed May 1 16:06:20 1996 --- fcntl.2 Wed May 1 16:20:11 1996 *************** *** 401,412 **** and .Fa fildes is not a valid file descriptor open for writing. - .It Bq Er EMFILE - .Fa Cmd - is - .Dv F_DUPFD - and the maximum allowed number of file descriptors are currently - open. .It Bq Er EDEADLK The argument .Fa cmd --- 401,406 ---- *************** *** 445,451 **** The argument .Fa cmd is ! .Dv 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 --- 439,445 ---- The argument .Fa cmd is ! .Dv F_DUPFD and the maximum number of file descriptors permitted for the process are already in use, or no file descriptors greater than or equal to >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605011625.QAA00657>