Returns the schedule parameter attribute for the thread.
#include <pthread.h> int pthread_attr_getschedparam ( const pthread_attr_t *attr, struct sched_param *param);
(IN) Points to a thread attribute structure.
(OUT) Points to a structure that contains the value for the schedule parameter attribute in the sched_priority field of the sched_param structure.
If successful, returns 0; otherwise, returns a nonzero error code: