mirror of
https://github.com/cc65/cc65.git
synced 2024-08-17 03:29:15 +00:00
- Adds new ENOEXEC error code, also used by Apple2 targets. - Maximum command line length is 40, incl. program name. This is an XDOS restriction. - testcode/lib/tinyshell.c has been extended to be able to run programs.
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/*
|
|
** errormsg.c
|
|
**
|
|
** Ullrich von Bassewitz, 17.05.2000
|
|
*/
|
|
|
|
|
|
|
|
const char* const _sys_errlist[] = {
|
|
"Unknown error", /* 0 */
|
|
"No such file or directory", /* ENOENT */
|
|
"Out of memory", /* ENOMEM */
|
|
"Permission denied", /* EACCES */
|
|
"No such device", /* ENODEV */
|
|
"Too many open files", /* EMFILE */
|
|
"Device or resource busy", /* EBUSY */
|
|
"Invalid argument", /* EINVAL */
|
|
"No space left on device", /* ENOSPC */
|
|
"File exists", /* EEXIST */
|
|
"Try again", /* EAGAIN */
|
|
"I/O error", /* EIO */
|
|
"Interrupted system call", /* EINTR */
|
|
"Function not implemented", /* ENOSYS */
|
|
"Illegal seek", /* ESPIPE */
|
|
"Range error", /* ERANGE */
|
|
"Bad file number", /* EBADF */
|
|
"Exec format error", /* ENOEXEC */
|
|
"Unknown OS error code", /* EUNKNOWN */
|
|
};
|
|
|
|
|