Many kernel calls return a negative error code for the
following problems:

     Operation not permitted",0 ;EPERM		 1	
     No such file or directory",0 ;ENOENT	 2	
     No such process",0 	 ;ESRCH		 3	
     Interrupted system call",0 ;EINTR		 4	
     I/O error",0 		 ;EIO		 5	
     No such device or address",0 ;ENXIO	 6	
     Arg list too long",0 	 ;E2BIG		 7	
     Exec format error",0 	 ;ENOEXEC	 8	
     Bad file number",0 	 ;EBADF		 9	
     No child processes",0 	 ;ECHILD	10	
     Try again",0 	 ;EAGAIN		11	
     Out of memory",0 	 ;ENOMEM		12	
     Permission denied",0  ;EACCES		13	
     Bad address",0 	 ;EFAULT		14	
     Block device required",0 ;ENOTBLK		15	
     Device or resource busy",0 ;EBUSY		16	
     File exists",0 		;EEXIST		17	
     Cross-device link",0 	 ;EXDEV		18	
     No such device",0 	 ;ENODEV		19	
     Not a directory",0  ;ENOTDIR		20	
     Is a directory",0  	;EISDIR		21	
     Invalid argument",0 	;EINVAL		22	
     File table overflow",0 ;ENFILE		23	
     Too many open files",0 ;EMFILE		24	
     Not a typewriter",0 	;ENOTTY		25	
     Text file busy",0  ;ETXTBSY		26	
     File too large",0 		 ;EFBIG		27	
     No space left on device",0 ;ENOSPC		28	
     Illegal seek",0 	 ;ESPIPE		29	
     Read-only file system",0 ;EROFS		30	
     Too many links",0 	 ;EMLINK		31	
     Broken pipe",0 		 ;EPIPE		32	
     Math argument out of domain of func",0 ;EDOM 33	
     Math result not representable",0 ;ERANGE	34	
     Resource deadlock would occur",0 ;EDEADLK	35	
     File name too long",0  ;ENAMETOOLONG	36	
     No record locks available",0 ;ENOLCK	37	
     Function not implemented",0 ;ENOSYS	38	
     Directory not empty",0 	;ENOTEMPTY	39	
     Too many symbolic links encountered",0 ;ELOOP 40	
     Operation would block",0 ;EWOULDBLOCK	41	
     No message of desired type",0 ;ENOMSG	42	
     Identifier removed",0 ;EIDRM		43	
     Channel number out of range",0 ;ECHRNG	44	
     Level 2 not synchronized",0 ;EL2NSYNC	45	
     Level 3 halted",0	 ;EL3HLT		46	
     Level 3 reset",0	 ;EL3RST		47	
     Link number out of range",0 ;ELNRNG	48	
     Protocol driver not attached",0 ;EUNATCH	49	
     No CSI structure available",0 ;ENOCSI	50	
     Level 2 halted",0 ;EL2HLT		51	
     Invalid exchange",0 ;EBADE		52	
     Invalid request descriptor",0 ;EBADR	53	
     Exchange full",0 ;EXFULL		54	
     No anode",0 ;ENOANO		55	
     Invalid request code",0 ;EBADRQC		56	
     Invalid slot",0 ;EBADSLT		57	
     Resource deadlock would occur",0 ;EDEADLK	58	
     Bad font file format",0 ;EBFONT		59	
     Device not a stream",0 ;ENOSTR		60	
     No data available",0 ;ENODATA		61	
     Timer expired",0 ;ETIME		62	
     Out of streams resources",0 ;ENOSR		63	
     Machine is not on the network",0 ;ENONET	64	
     Package not installed",0 ;ENOPKG		65	
     Object is remote",0 ;EREMOTE		66	
     Link has been severed",0 ;ENOLINK		67	
     Advertise error",0 ;EADV		68	
     Srmount error",0 ;ESRMNT		69	
     Communication error on send",0 ;ECOMM	70	
     Protocol error",0 ;EPROTO		71	
     Multihop attempted",0 ;EMULTIHOP	72	
     RFS specific error",0 ;EDOTDOT		73	
     Not a data message",0 ;EBADMSG		74	
     Value too large for defined data type",0 ;EOVERFLOW	75	
     Name not unique on network",0 ;ENOTUNIQ	76	
     File descriptor in bad state",0 ;EBADFD	77	
     Remote address changed",0 ;EREMCHG		78	
     Can not access a needed shared library",0 ;ELIBACC		79	
     Accessing a corrupted shared library",0 ;ELIBBAD		80	
     .lib section in a.out corrupted",0 ;ELIBSCN		81	
     Attempting to link in too many shared libraries",0 ;ELIBMAX		82	
     Cannot exec a shared library directly",0 ;ELIBEXEC	83	
     Illegal byte sequence",0 ;EILSEQ		84	
     Interrupted system call should be restarted",0 ;ERESTART	85	
     Streams pipe error",0 ;ESTRPIPE	86	
     Too many users",0 ;EUSERS		87	
     Socket operation on non-socket",0 ;ENOTSOCK	88	
     Destination address required",0 ;EDESTADDRREQ	89	
     Message too long",0 ;EMSGSIZE	90	
     Protocol wrong type for socket",0 ;EPROTOTYPE	91	
     Protocol not available",0 ;ENOPROTOOPT	92	
     Protocol not supported",0 ;EPROTONOSUPPORT	93	
     Socket type not supported",0 ;ESOCKTNOSUPPORT	94	
     Operation not supported on transport endpoint",0 ;EOPNOTSUPP	95	
     Protocol family not supported",0 ;EPFNOSUPPORT	96	
     Address family not supported by protocol",0 ;EAFNOSUPPORT	97	
     Address already in use",0 ;EADDRINUSE	98	
     Cannot assign requested address",0 ;EADDRNOTAVAIL	99	
     Network is down",0 ;ENETDOWN	100	
     Network is unreachable",0 ;ENETUNREACH	101	
     Network dropped connection because of reset",0 ;ENETRESET	102	
     Software caused connection abort",0 ;ECONNABORTED	103	
     Connection reset by peer",0 ;ECONNRESET	104	
     No buffer space available",0 ;ENOBUFS		105	
     Transport endpoint is already connected",0 ;EISCONN		106	
     Transport endpoint is not connected",0 ;ENOTCONN	107	
     Cannot send after transport endpoint shutdown",0 ;ESHUTDOWN	108	
     Too many references: cannot splice",0 ;ETOOMANYREFS	109	
     Connection timed out",0 ;ETIMEDOUT	110	
     Connection refused",0 ;ECONNREFUSED	111	
     Host is down",0 ;EHOSTDOWN	112	
     No route to host",0 ;EHOSTUNREACH	113	
     Operation already in progress",0 ;EALREADY	114	
     Operation now in progress",0 ;EINPROGRESS	115	
     Stale NFS file handle",0 ;ESTALE		116	
     Structure needs cleaning",0 ;EUCLEAN		117	
     Not a XENIX named type file",0 ;ENOTNAM		118	
     No XENIX semaphores available",0 ;ENAVAIL		119	
     Is a named type file",0 ;EISNAM		120	
     Remote I/O error",0 ;EREMOTEIO	121	
     Quota exceeded",0 ;EDQUOT		122	
     No medium found",0 ;ENOMEDIUM	123	
     Wrong medium type",0 ;EMEDIUMTYPE	124	
; kernel errors end here. additional asmide errors begin
     Data file corrupted',0	;	125
     use -Add- to create entry',0 ;	126
     Segmentation - memory access signal',0 ;127
     Segmentation - INTO instruction signal',0  ;128
     Segmentation - BOUND instruction signal',0 ;129
     SIGTRAP - trace breakpoint signal',0 ;130
     SIGTRAP - breakpoint set signal',0 ;131
     SIGILL - Illegal opcode signal',0 ;132
     SIGILL - Illegal operand signal',0 ;133
     SIGILL - Illegal addressing signal',0 ;134
     SIGILL - Illegal trap signal',0 ;135
     SIGILL - privileged opcode signal',0 ;136
     SIGILL - privileged register signal',0 ;137
     SIGILL - coprocessor error signal',0 ;138
     SIGILL - stack error signal',0 ;139
     SIGFPE - integer divide by zero signal',0 ;140
     SIGFPE - integer overflow signal',0  ;141
     SIGFPE - floating point divide by zero signal',0 ;142
     SIGFPE - floating point overflow signal',0 ;143
     SIGFPE - floating point underflow signal',0 ;144
     SIGFPE - floating point inexact signal',0 ;145
     SIGFPE - floating point invalid signal',0 ;146
     SIGFPE - floating subscript out of range signal',0 ;147
