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

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