docs/125751: man 3 pthread_getschedparam section ERRORS incomplete
Dan Lukes
dan at obluda.cz
Fri Jul 18 15:30:02 UTC 2008
>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:
More information about the freebsd-doc
mailing list