fix getaddrinfo regression with AI_ADDRCONFIG on some configurations
[musl.git] / src / thread / pthread_attr_setguardsize.c
blob1c5c60acbc70ae8bfee9b0499e98119ed34efb6f
1 #include "pthread_impl.h"
3 int pthread_attr_setguardsize(pthread_attr_t *a, size_t size)
5 if (size > SIZE_MAX/8) return EINVAL;
6 a->_a_guardsize = size;
7 return 0;