summaryrefslogtreecommitdiff
path: root/src/errno/__errno_location.c
blob: 7172a1be39dbb1caf86715904552389083e2061b (plain) (blame)
1
2
3
4
5
6
#include "pthread_impl.h"

int *__errno_location(void)
{
	return &__pthread_self()->errno_val;
}