Kbase P61296: What does the errno for UNIX mean
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/08/2007 |
|
Status: Unverified
GOAL:
What does the errno for UNIX mean
GOAL:
What does the error code mean on UNIX
FIX:
ERROR CODES:
============
Here is a listing of the UNIX errno.h file. Where applicable, the error code explanation is listed next to the "*".
0 O/S not sure of exact problem
#define EPERM 1 Not owner
#define ENOENT 2 No such file or directory
* Directory or file in path does not exist.
#define ESRCH 3 No such process
#define EINTR 4 Interrupted system call
#define EIO 5 I/O error
* Physical hardware problem
#define ENXIO 6 No such device or address
#define E2BIG 7 Arg list too long
#define ENOEXEC 8 Exec format error
#define EBADF 9 Bad file number
#define ECHILD 10 No children
#define EAGAIN 11 No more processes
#define ENOMEM 12 Not enough core
#define EACCES 13 Permission denied
* Do not have write permissions on file or directory
#define EFAULT 14 Bad address
#define ENOTBLK 15 Block device required
#define EBUSY 16 Mount device busy
#define EEXIST 17 File exists
#define EXDEV 18 Cross-device link
#define ENODEV 19 No such device
#define ENOTDIR 20 Not a directory
#define EISDIR 21 Is a directory
#define EINVAL 22 Invalid argument
#define ENFILE 23 File, Mfile, Inode table overflow
#define EMFILE 24 Too many open files
* Unix increase the nfiles in the kernal.
* DOS increase the Files in config.sys.
#define ENOTTY 25 Not a typewriter
#define ETXTBSY 26 Text file busy
#define EFBIG 27 File too large
#define ENOSPC 28 No space left on device
* Disk or device is full
#define ESPIPE 29 Illegal seek
#define EROFS 30 Read-only file system
#define EMLINK 31 Too many links
#define EPIPE 32 Broken pipe
ONLINE PROCEDURES OR UTILITIES:
===============================
UNIX: errno.h error listing