about summary refs log tree commit diff
path: root/src/thread/pthread_attr_getguardsize.c
blob: 71133f808242467ce2a7486bb56a5f268abf59e3 (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

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