Obtains the scheduling parameters for an attribute of the specified thread attributes object.
pthread_attr_getschedparam(
attr,
param );
Argument Data Type Access
attr opaque pthread_attr_t read
param struct sched_param write
#includeint pthread_attr_getschedparam ( const pthread_attr_t *attr, struct sched_param *param);
Return Description0 Successful completion. [EINVAL] The value specified by attr is invalid.
pthread_attr_init pthread_attr_setschedparam pthread_create