3 * - By John Hodge (thePowersGang)
10 #include <acess/sys.h>
12 EXPORT int *libc_geterrno()
17 EXPORT const char *strerror(int errnum)
21 case ENOSYS: return "Invalid instruction/syscall";
22 case ENOENT: return "No such file or directory";
23 case EINVAL: return "Bad arguments";
24 case EPERM: return "Permissions error";
26 _SysDebug("strerror: errnum=%i unk", errnum);
27 return "unknown error";