Penguin
Diff: ErrorMessages
EditPageHistoryDiffInfoLikePages

Differences between version 10 and previous revision of ErrorMessages.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 10 Last edited on Monday, May 5, 2003 2:28:01 pm by JohnButtery Revert
Older page: version 1 Last edited on Monday, October 7, 2002 8:51:14 pm by WikiAdmin Revert
@@ -1,14 +1,21 @@
+The following are the error values (and their meanings) returned by functions in the C library on a [POSIX] (or posix-like) system. You might like to look a some funny ApplicationErrorMessages as well or CommonErrors  
+  
+Some of the higher-numbered error codes are not POSIX and have different numbers on different architectures. The numbers listed here are used by the linux kernel on [x86].  
+  
+----  
+|__Error Number__|__Error Constant Name__|__Error Message Text__  
 |1|[EPERM]|Operation not permitted 
 |2|[ENOENT]|No such file or directory 
 |3|[ESRCH]|No such process 
 |4|[EINTR]|Interrupted system call 
 |5|[EIO]|I/O error 
 |6|[ENXIO]|No such device or address 
+|7|[E2BIG]|Argument list too long  
 |8|[ENOEXEC]|Exec format error 
 |9|[EBADF]|Bad file number 
 |10|[ECHILD]|No child processes 
-|11|[EAGAIN]|Try again 
+|11|[EAGAIN],EWOULDBLOCK |Try again 
 |12|[ENOMEM]|Out of memory 
 |13|[EACCES]|Permission denied 
 |14|[EFAULT]|Bad address 
 |15|[ENOTBLK]|Block device required 
@@ -30,32 +37,32 @@
 |31|[EMLINK]|Too many links 
 |32|[EPIPE]|Broken pipe 
 |33|[EDOM]|Math argument out of domain of func 
 |34|[ERANGE]|Math result not representable 
-|35|[EDEADLK]|Resource deadlock would occur 
+|35|[EDEADLK],EDEADLOCK |Resource deadlock would occur 
 |36|[ENAMETOOLONG]|File name too long 
 |37|[ENOLCK]|No record locks available 
 |38|[ENOSYS]|Function not implemented 
 |39|[ENOTEMPTY]|Directory not empty 
 |40|[ELOOP]|Too many symbolic links encountered 
-#define EWOULDBLOCK EAGAIN /* Operation would block */  
+|41||^-------------  
 |42|[ENOMSG]|No message of desired type 
 |43|[EIDRM]|Identifier removed 
 |44|[ECHRNG]|Channel number out of range 
-#define EL2NSYNC 45 /* Level 2 not synchronized */  
-#define EL3HLT 46 /* Level 3 halted */  
-#define EL3RST 47 /* Level 3 reset */  
+| 45|[EL2NSYNC]| Level 2 not synchronized  
+| 46|[EL3HLT]| Level 3 halted  
+| 47|[EL3RST]| Level 3 reset 
 |48|[ELNRNG]|Link number out of range 
 |49|[EUNATCH]|Protocol driver not attached 
 |50|[ENOCSI]|No CSI structure available 
-#define EL2HLT 51 /* Level 2 halted */  
+| 51|[EL2HLT]| Level 2 halted 
 |52|[EBADE]|Invalid exchange 
 |53|[EBADR]|Invalid request descriptor 
 |54|[EXFULL]|Exchange full 
 |55|[ENOANO]|No anode 
 |56|[EBADRQC]|Invalid request code 
 |57|[EBADSLT]|Invalid slot 
-#define EDEADLOCK EDEADLK  
+|58||^---------  
 |59|[EBFONT]|Bad font file format 
 |60|[ENOSTR]|Device not a stream 
 |61|[ENODATA]|No data available 
 |62|[ETIME]|Timer expired