projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nice: return EPERM instead of EACCES
[musl]
/
include
/
errno.h
diff --git
a/include/errno.h
b/include/errno.h
index
93f5f6e
..
0361b33
100644
(file)
--- a/
include/errno.h
+++ b/
include/errno.h
@@
-9,6
+9,9
@@
extern "C" {
#include <bits/errno.h>
+#ifdef __GNUC__
+__attribute__((const))
+#endif
int *__errno_location(void);
#define errno (*__errno_location())