#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__*/