docs/118929: A clerical error on man page about 'sem_open'

mymtom mymtom at hotmail.com
Fri Dec 21 14:10:01 UTC 2007


>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 at 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:



More information about the freebsd-doc mailing list