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

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