repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl.git]
/
include
/
errno.h
blob
0361b33ad348a2ab1d3422a2399cb2e3ccf0217b
1
#ifndef _ERRNO_H
2
#define _ERRNO_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <features.h>
9
10
#include <bits/errno.h>
11
12
#ifdef __GNUC__
13
__attribute__
((
const
))
14
#endif
15
int
*
__errno_location
(
void
);
16
#define errno (*__errno_location())
17
18
#ifdef _GNU_SOURCE
19
extern
char
*
program_invocation_short_name
, *
program_invocation_name
;
20
#endif
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif
27