Date: Fri, 21 Dec 2007 14:03:13 GMT From: mymtom <mymtom@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/118929: A clerical error on man page about 'sem_open' Message-ID: <200712211403.lBLE3Doe024663@www.freebsd.org> Resent-Message-ID: <200712211410.lBLEA1Ax005006@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118929 >Category: docs >Synopsis: A clerical error on man page about 'sem_open' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 21 14:10:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: mymtom >Release: FreeBSD 8.0-CURRENT-200712 i386 >Organization: NCR >Environment: FreeBSD freebsd8.mymtom.cn 8.0-CURRENT-200712 FreeBSD 8.0-CURRENT-200712 #0: Thu Dec 13 06:26:54 CST 2007 root@freebsd8.mymtom.cn:/usr/src/sys/i386/compile/MYMTOM i386 >Description: 'man sem_open' says: ================================================================================ SEM_OPEN(3) FreeBSD Library Functions Manual SEM_OPEN(3) NAME sem_open, sem_close, sem_unlink -- named semaphore operations LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <semaphore.h> ..... ERRORS The sem_open() function will fail if: ..... [ENOENT] O_CREAT is set but the named semaphore does not exist. ^^^^^^ ..... ================================================================================ According to IEEE Std 1003.1, 2004 Edition http://www.opengroup.org/onlinepubs/009695399/functions/sem_open.html [ENOENT] O_CREAT is set but the named semaphore does not exist. ^^^^^^ should be: [ENOENT] O_CREAT is not set but the named semaphore does not exist. ^^^^^^^^^^ >How-To-Repeat: Just run 'man sem_open' >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712211403.lBLE3Doe024663>