Date: Thu, 17 May 2001 11:31:55 -0700 (PDT) From: dwimsey@rtci.com To: freebsd-gnats-submit@freebsd.org Subject: docs/27411: Description of function in man page for pthread_cleanup_push is incorrect Message-ID: <200105171831.f4HIVtf03959@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 27411
>Category: docs
>Synopsis: Description of function in man page for pthread_cleanup_push is incorrect
>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: Thu May 17 11:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: David Wimsey
>Release: 5.0-CURRENT
>Organization:
Research Triangle Commerce, Inc
>Environment:
FreeBSD chaos.schizo.com 5.0-20010320-CURRENT FreeBSD 5.0-20010320-CURRENT #0: Tue Mar 20 16:16:37 GMT 2001 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC i386
>Description:
The second paragraph of the description reads:
When pthread_cleanup_push() is called, it is passed arg as its only argu-
ment.
I assume it means:
When cleanup_routine() is called, it is passed arg as its only argu-
ment.
>How-To-Repeat:
man pthread_cleanup_push
>Fix:
--- pthread_cleanup_push.3.orig Thu May 17 14:27:07 2001
+++ pthread_cleanup_push.3 Thu May 17 14:28:09 2001
@@ -48,7 +48,7 @@
get called when the current thread exits.
.Pp
When
-.Fn pthread_cleanup_push
+.Fn cleanup_routine
is called, it is passed
.Fa arg
as its only argument.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105171831.f4HIVtf03959>
