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
iconv: add euro symbol to GBK as single byte 0x80
[musl.git]
/
src
/
thread
/
pthread_barrierattr_setpshared.c
blob
c2d2929dcf8e975fd8d743800eb78dfc2be4c9db
1
#include
"pthread_impl.h"
2
3
int
pthread_barrierattr_setpshared
(
pthread_barrierattr_t
*
a
,
int
pshared
)
4
{
5
if
(
pshared
>
1U
)
return
EINVAL
;
6
a
->
__attr
=
pshared
?
INT_MIN
:
0
;
7
return
0
;
8
}