strerror.c (179B)
1 #include <errno.h> 2 #include <string.h> 3 4 #undef strerror 5 6 char * 7 strerror(int errnum) 8 { 9 if (errnum > EUNKNOWN || errnum <= 0) 10 errnum = EUNKNOWN; 11 return _sys_errlist[errnum]; 12 }
sccsimple c99 compiler | |
git clone git://git.simple-cc.org/scc | |
Log | Files | Refs | Submodules | README | LICENSE |