pthread_attr_getprio(3-thr) pthread_attr_getprio(3-thr)
NAME
pthreadattrgetprio - obtains the scheduling priority attribute
SYNOPSIS
#include <pthread.h>
int pthreadattrgetprio(pthreadattrt attr);
PARAMETERS
attr Thread attributes object whose priority attribute is
obtained.
DESCRIPTION
The pthreadattrgetprio() routine obtains the value of the scheduling
priority of threads created using the thread attributes object speci-
fied by the attr parameter.
RETURN VALUES
On successful completion, this routine returns the scheduling priority
attribute value.
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadattrcreate(3-thr), pthreadattrsetprio(3-thr),
pthreadcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98