Bug 118929

Summary: A clerical error on man page about 'sem_open'
Product: Documentation Reporter: mymtom <mymtom>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description mymtom 2007-12-21 14:10:00 UTC
'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'
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-12-27 21:55:56 UTC
jhb         2007-12-27 21:55:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/gen         sem_open.3 
  Log:
  Fix a typo in regards to the ENOENT error.
  
  PR:             docs/118929
  Submitted by:   mymtom of hotmail
  MFC after:      3 days
  
  Revision  Changes    Path
  1.13      +1 -1      src/lib/libc/gen/sem_open.3
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 John Baldwin freebsd_committer freebsd_triage 2007-12-27 21:55:57 UTC
State Changed
From-To: open->closed

Fixed, thanks!