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