fxlibc/include/errno.h

21 lines
320 B
C
Raw Normal View History

#ifndef __ERRNO_H__
# define __ERRNO_H__
2021-06-28 15:49:05 +02:00
#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
2021-06-28 15:49:05 +02:00
#ifdef __cplusplus
}
#endif
#endif /*__ERRNO_H__*/