ciabatta/inc/errno.h

14 lines
215 B
C
Raw Permalink Normal View History

2022-06-11 04:49:07 +00:00
#pragma once
#define EDOM 1
#define EILSEQ 2
#define ERANGE 3
2022-08-05 23:41:45 +00:00
// TODO: figure out why _Thread_local doesn't work
extern _Thread_local int errno;
#if __STDC_WANT_LIB_EXT1__ == 1
typedef int errno_t;
#endif