From nobody@FreeBSD.org  Fri Dec 21 14:03:38 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 77F7916A421
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Dec 2007 14:03:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 59AEF13C47E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Dec 2007 14:03:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLE3D0h024664
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Dec 2007 14:03:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBLE3Doe024663;
	Fri, 21 Dec 2007 14:03:13 GMT
	(envelope-from nobody)
Message-Id: <200712211403.lBLE3Doe024663@www.freebsd.org>
Date: Fri, 21 Dec 2007 14:03:13 GMT
From: mymtom <mymtom@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: A clerical error on man page about 'sem_open'
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 14:10:00 UTC 2007
>Closed-Date:    Thu Dec 27 21:56:13 UTC 2007
>Last-Modified:  Thu Dec 27 22:00:06 UTC 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Thu Dec 27 21:55:57 UTC 2007 
State-Changed-Why:  
Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118929 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/118929: commit references a PR
Date: Thu, 27 Dec 2007 21:55:56 +0000 (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"
 
>Unformatted:
