From owner-freebsd-doc Thu May 17 11:40: 8 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6BBFD37B440 for ; Thu, 17 May 2001 11:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4HIe1b04836; Thu, 17 May 2001 11:40:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DE2C937B424 for ; Thu, 17 May 2001 11:31:55 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4HIVtf03959; Thu, 17 May 2001 11:31:55 -0700 (PDT) (envelope-from nobody) Message-Id: <200105171831.f4HIVtf03959@freefall.freebsd.org> Date: Thu, 17 May 2001 11:31:55 -0700 (PDT) From: dwimsey@rtci.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: docs/27411: Description of function in man page for pthread_cleanup_push is incorrect Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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