strerror.c (164B)
1 #include <errno.h> 2 #include <string.h> 3 #undef strerror 4 5 char * 6 strerror(int errnum) 7 { 8 if (errnum > _sys_nerr) 9 errnum = EUNKNOWN; 10 return _sys_errlist[errnum]; 11 }
![]() | 9osExperimental kernel using plan9 ideas for embedded device |
git clone git://git.simple-cc.org/9os | |
Log | Files | Refs | README | LICENSE |