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

int pthread_mutexattr_getrobust(const pthread_mutexattr_t *a, int *robust)
{
	*robust = *a / 4U % 2;
	return 0;
}