1#ifndef	_ERRNO_H
2#define _ERRNO_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <features.h>
9
10#include <bits/errno.h>
11
12int *__errno_location(void);
13#ifdef __cplusplus
14extern thread_local int errno;
15#else
16extern _Thread_local int errno;
17#endif
18
19#ifdef _GNU_SOURCE
20extern char *program_invocation_short_name, *program_invocation_name;
21#endif
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif
28
29