summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/errno.c
blob: 0d500dc8f69b781fca23d055dabdc690b2d97b52 (plain)
1
2
3
4
5
6
7
8
9
//#include <errno.h>

int errno = 0;

int * __attribute__ ((__weak__)) __errno_location ( void )
{
  return &errno;
}