Sign in
cobalt
/
cobalt
/
refs/heads/master
/
.
/
third_party
/
musl
/
src
/
thread
/
pthread_attr_setinheritsched.c
blob: ca264be7c4d969a9dd12cbd8a80c6a1911533473 [
file
] [
log
] [
blame
]
#include
"pthread_impl.h"
#include
"syscall.h"
int
pthread_attr_setinheritsched
(
pthread_attr_t
*
a
,
int
inherit
)
{
if
(
inherit
>
1U
)
return
EINVAL
;
a
->
_a_sched
=
inherit
;
return
0
;
}