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

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