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

int pthread_attr_getstacksize(const pthread_attr_t *restrict a, size_t *restrict size)
{
	*size = a->_a_stacksize + DEFAULT_STACK_SIZE;
	return 0;
}