Sign in
cobalt
/
cobalt.git
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
thread
/
pthread_attr_setinheritsched.c
blob: ca264be7c4d969a9dd12cbd8a80c6a1911533473 [
file
]
#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
;
}