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