summaryrefslogblamecommitdiff
path: root/src/thread/pthread_attr_getstacksize.c
blob: 40bbf1868ca1293bcdd5e9167aa286bec8cc5706 (plain) (tree)
1
2
3
4
5
6
7






                                                              
#include "pthread_impl.h"

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