Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/system/lib/libc/musl/include/errno.h
6172 views
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
28
29