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

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