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

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