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