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

int pthread_barrierattr_getpshared(const pthread_barrierattr_t *restrict a, int *restrict pshared)
{
	*pshared = !!*a;
	return 0;
}