mirror of
git://git.musl-libc.org/musl
synced 2024-12-23 15:12:32 +00:00
22 lines
249 B
C
22 lines
249 B
C
#ifndef _ERRNO_H
|
|
#define _ERRNO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <bits/errno.h>
|
|
|
|
#ifdef __GNUC__
|
|
__attribute__((const))
|
|
#endif
|
|
int *__errno_location(void);
|
|
#define errno (*__errno_location())
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|