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