/*[TPS]*/ /* Test whether a basic pthread_getschedparam invocation works. */ #include #include "../basic.h" int main(void) { struct sched_param params; int policy; if ( (errno = pthread_getschedparam(pthread_self(), &policy, ¶ms)) /*&& errno != EPERM*/ ) err(1, "pthread_getschedparam"); return 0; }