summaryrefslogblamecommitdiff
path: root/src/errno/__errno_location.c
blob: ad9f92415a555cad7ca77cccf9e6facc5989a483 (plain) (tree)
1
2
3
4
5
6
7
                  
                         
 

                           
                                            
 
#include <errno.h>
#include "pthread_impl.h"

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