From efrias@efrias.async.vt.edu  Sun Aug 17 08:02:28 1997
Received: from efrias.async.vt.edu (efrias.async.vt.edu [128.173.17.164])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA02959
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Aug 1997 08:02:26 -0700 (PDT)
Received: (from root@localhost)
	by efrias.async.vt.edu (8.8.5/8.8.5) id LAA20984;
	Sun, 17 Aug 1997 11:04:18 GMT
Message-Id: <199708171104.LAA20984@efrias.async.vt.edu>
Date: Sun, 17 Aug 1997 11:04:18 GMT
From: Eric Frias <efrias@functional.com>
Reply-To: efrias@functional.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: pthread_detach man page bug
X-Send-Pr-Version: 3.2

>Number:         4320
>Category:       docs
>Synopsis:       function prototype in pthread_detach man page incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 17 08:10:01 PDT 1997
>Closed-Date:    Wed Dec 24 21:10:45 PST 1997
>Last-Modified:  Wed Dec 24 21:13:32 PST 1997
>Originator:     Eric Frias
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
FIS Technologies
>Environment:

Standard 2.2.2 install

>Description:

"man pthread" and "man pthread_detach" report the function prototype as:
   int pthread_detach(pthread_t thread)
but the function is really:
/usr/include/pthread.h:int              pthread_detach __P((pthread_t *));

>How-To-Repeat:

nothing special

>Fix:
	
Add a "*" to the man pages.
>Release-Note:
>Audit-Trail:

From: Steve Price <sprice@HiWAAY.net>
To: freebsd-gnats-submit@freebsd.org, efrias@functional.com
Cc:  Subject: Re: docs/4320: function prototype in pthread_detach man page incorrect
Date: Sun, 17 Aug 1997 20:39:02 -0500

 Well the manpage is correct at least according to POSIX threads
 book that I have and also a cursory scan of the (Net|Open)BSD
 sources.  It seems our implementation has it incorrect.  Didn't
 we get a resident expert that was working on getting a new version
 into FreeBSD's tree?  If not, is there any objection to nuking
 our uthreads and importing (Net|Open)BSD's version as a start
 in the right direction?
 
 Thanks, Steve
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Wed Dec 24 21:10:45 PST 1997 
State-Changed-Why:  
The implementation has been modified to conform with the manpage 
(which matches POSIX). 

pthread.h          rev 1.7 
uthread_detach.c   rev 1.4 

>Unformatted:
