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

int pthread_attr_getdetachstate(pthread_attr_t *a, int *state)
{
	*state = a->_a_detach;
	return 0;
}