projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
include
/
errno.h
1
#ifndef _ERRNO_H
2
#define _ERRNO_H
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
#include <bits/errno.h>
9
10
#ifdef __GNUC__
11
__attribute__((const))
12
#endif
13
extern int *__errno_location(void);
14
#define errno (*__errno_location())
15
16
#ifdef __cplusplus
17
}
18
#endif
19
20
#endif
21