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