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






                                                             
#include "pthread_impl.h"

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