The pthread_attr_getschedpolicy function

Name

pthread_attr_getschedpolicy -- 

Synopsis

#include <pthread.h>

int pthread_attr_getschedpolicy (pthread_attr_t *attr, int *policy);

Description

The pthread_attr_getschedpolicy function gets the policy for the given attribute.

Returns

The pthread_attr_getschedpolicy function returns zero if the given attribute is valid and -1 otherwise.

Implementation Notes

None