summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_init.c
blob: 8f6e337452bc57ab95b00d030a5e7c7a95ac8390 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "pthread_impl.h"

int pthread_attr_init(pthread_attr_t *a)
{
	*a = (pthread_attr_t){0};
	a->_a_stacksize = DEFAULT_STACK_SIZE;
	a->_a_guardsize = DEFAULT_GUARD_SIZE;
	return 0;
}