fxlibc/include/errno.h
2021-06-28 15:49:05 +02:00

20 lines
320 B
C

#ifndef __ERRNO_H__
# define __ERRNO_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Initialized to 0 at startup. Currently not TLS, maybe in the future if
threads are supported. */
extern int errno;
#define EDOM 1
#define EILSEQ 2
#define ERANGE 3
#ifdef __cplusplus
}
#endif
#endif /*__ERRNO_H__*/