mirror of
https://github.com/fluencelabs/musl
synced 2025-05-23 12:41:32 +00:00
9 lines
188 B
C
9 lines
188 B
C
#include "pthread_impl.h"
|
|
|
|
int pthread_attr_setguardsize(pthread_attr_t *a, size_t size)
|
|
{
|
|
if (size > SIZE_MAX/8) return EINVAL;
|
|
a->__guardsize = size - DEFAULT_GUARD_SIZE;
|
|
return 0;
|
|
}
|