about summary refs log tree commit diff
path: root/src/thread/pthread_attr_getschedpolicy.c
blob: 09e893a39e47a982fd20104e6f62f0afbdb7288a (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

int pthread_attr_getschedpolicy(const pthread_attr_t *a, int *policy)
{
	*policy = a->_a_policy;
	return 0;
}