From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 15:30:02 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 843DA1065676 for ; Fri, 18 Jul 2008 15:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 53D818FC14 for ; Fri, 18 Jul 2008 15:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6IFU2h8070837 for ; Fri, 18 Jul 2008 15:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6IFU276070836; Fri, 18 Jul 2008 15:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 18 Jul 2008 15:30:02 GMT Resent-Message-Id: <200807181530.m6IFU276070836@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dan Lukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9E6E1065677 for ; Fri, 18 Jul 2008 15:25:48 +0000 (UTC) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (kulesh.obluda.cz [193.179.199.51]) by mx1.freebsd.org (Postfix) with ESMTP id 22BE88FC0A for ; Fri, 18 Jul 2008 15:25:47 +0000 (UTC) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (localhost. [127.0.0.1]) by kulesh.obluda.cz (8.14.2/8.14.2) with ESMTP id m6IFPkrc025334 for ; Fri, 18 Jul 2008 17:25:46 +0200 (CEST) (envelope-from dan@kulesh.obluda.cz) Received: (from root@localhost) by kulesh.obluda.cz (8.14.2/8.14.2/Submit) id m6IFPk4Z025333; Fri, 18 Jul 2008 17:25:46 +0200 (CEST) (envelope-from dan) Message-Id: <200807181525.m6IFPk4Z025333@kulesh.obluda.cz> Date: Fri, 18 Jul 2008 17:25:46 +0200 (CEST) From: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/125751: man 3 pthread_getschedparam section ERRORS incomplete X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2008 15:30:02 -0000 >Number: 125751 >Category: docs >Synopsis: man 3 pthread_getschedparam section ERRORS incomplete >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: Fri Jul 18 15:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 6.3-STABLE i386 >Organization: Obludarium >Environment: src/share/man/man3/pthread_schedparam.3,v 1.9.8.1 2006/10/20 18:59:44 ru >Description: The function int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param); will return EINVAL in the case the policy or param is NULL It apply to al three implementations: Reentrant C Library (libc_r, -lc_r) POSIX Threads Library (libpthread, -lpthread) 1:1 Threading Library (libthr, -lthr) Unfortunately, the manual page mention the ESRCH as the only error code fur such function. >How-To-Repeat: >Fix: Add the EINVAL error code to ERRORS section, pthread_getschedparam subsection of manual page >Release-Note: >Audit-Trail: >Unformatted: