repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix and overhaul dlsym depedency order, always record direct deps
[musl.git]
/
src
/
thread
/
pthread_rwlockattr_setpshared.c
blob
e7061973d6d6b1c00a79cd2c3cd4bb04b0f104d7
1
#include
"pthread_impl.h"
2
3
int
pthread_rwlockattr_setpshared
(
pthread_rwlockattr_t
*
a
,
int
pshared
)
4
{
5
if
(
pshared
>
1U
)
return
EINVAL
;
6
a
->
__attr
[
0
] =
pshared
;
7
return
0
;
8
}