Returns the schedule policy attribute for the thread.
#include <pthread.h> int pthread_attr_getschedpolicy ( const pthread_attr_t *attr, int *policy);
(IN) Points to a thread attribute structure.
(OUT) Points to the value for the schedule policy attribute (the attr_policy field). The only value supported on NetWare is SCHED_FIFO (first in, first out).
If successful, returns 0; otherwise, returns a nonzero error code.