blob: d8f8d116e34b30b820185a29b29b84cdf2c94e51 [file] [log] [blame]
#include <errno.h>
#include <pthread.h>
int pthread_setcancelstate(int new, int* old) {
if (new != PTHREAD_CANCEL_ENABLE&& new != PTHREAD_CANCEL_DISABLE)
return EINVAL;
return ENOSYS;
}