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 getaddrinfo regression with AI_ADDRCONFIG on some configurations
[musl.git]
/
src
/
thread
/
pthread_attr_setguardsize.c
blob
1c5c60acbc70ae8bfee9b0499e98119ed34efb6f
1
#include
"pthread_impl.h"
2
3
int
pthread_attr_setguardsize
(
pthread_attr_t
*
a
,
size_t
size
)
4
{
5
if
(
size
>
SIZE_MAX
/
8
)
return
EINVAL
;
6
a
->
_a_guardsize
=
size
;
7
return
0
;
8
}