Sign in
fuchsia
/
fuchsia
/
c46e161d2d61e35b4d90ed962fa02839309831bb
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
pthread
/
pthread_setcanceltype.c
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
;
}