20 lines
242 B
C
20 lines
242 B
C
#ifndef ERRNO_H_
|
|
#define ERRNO_H_
|
|
|
|
#include <sys/_errno.h>
|
|
|
|
#define errno (__get_errno())
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void __set_errno(int v);
|
|
extern int __get_errno(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|