summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_getguardsize.c
blob: 93ba05dd146e67df436333075869f0dba8e1737e (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict size)
{
	*size = a->_a_guardsize + DEFAULT_GUARD_SIZE;
	return 0;
}