You can use the perror command in shell to display the perror function in the corresponding program API.
I = 1; <br/> while [$ I-Le 152]; <br/> DO <br/> perror $ I; <br/> let I = I + 1; <br/> done;
My kernel is defined as 152 only, as shown in the following table:
OS error code 1: operation not permitted
OS error code 2: no such file or directory
OS error code 3: no such process
OS error code 4: interrupted system call
OS error code 5: Input/Output Error
OS error code 6: no such device or address
OS error code 7: argument list too long
OS error code 8: exec format Error
OS error code 9: Bad file descriptor
OS error code 10: No child Processes
OS error code 11: Resource temporarily unavailable
OS error code 12: cannot allocate memory
OS error code 13: Permission denied
OS Error Code 14: Bad address
OS error code 15: block device required
OS error code 16: device or resource busy
OS error code 17: file exists
OS Error Code 18: Invalid cross-device link
OS Error Code 19: no such device
OS error code 20: Not a directory
OS error code 21: is a directory
OS error code 22: invalid argument
OS error code 23: Too program open files in System
OS error code 24: Too enabled open files
OS Error Code 25: Inappropriate IOCTL for Device
OS error code 26: Text File busy
OS error code 27: file too large
OS error code 28: no space left on Device
OS error code 29: Illegal seek
OS error code 30: Read-Only File System
OS error code 31: Too internal links
OS error code 32: broken pipe
OS error code 33: Numerical argument out of Domain
OS error code 34: numerical result out of range
OS error code 35: Resource deadlock avoided
OS error code 36: File Name Too Long
OS Error Code 37: no locks available
OS error code 38: function not implemented
OS error code 39: directory not empty
OS error code 40: too many levels of symbolic links
Illegal error code: 41
OS error code 42: no message of desired type
OS Error Code 43: identifier removed
OS Error Code 44: channel number out of range
OS error code 45: Level 2 not synchronized
OS error code 46: Level 3 halted
OS Error Code 47: Level 3 Reset
OS error code 48: Link number out of range
OS error code 49: protocol driver not attached
OS error code 50: no CSI structure available
OS error code 51: Level 2 halted
OS Error Code 52: Invalid exchange
OS error code 53: Invalid request Descriptor
OS Error Code 54: exchange full
OS Error Code 55: No Anode
OS error code 56: Invalid Request Code
OS error code 57: Invalid slot
Illegal error code: 58
OS error code 59: bad font file format
OS error code 60: device not a stream
OS error code 61: No data available
OS error code 62: timer expired
OS error code 63: Out of streams Resources
OS Error Code 64: machine is not on the network
OS error code 65: package Not Installed
OS error code 66: object is remote
OS error code 67: link has been severed
OS error code 68: advertise Error
OS error code 69: srmount Error
OS error code 70: communication error on send
OS error code 71: Protocol Error
OS error code 72: multihop attempted
OS error code 73: RFS specific error
OS error code 74: bad message
OS error code 75: value too large for defined data type
OS Error Code 76: name not unique on Network
OS Error Code 77: file descriptor in bad state
OS error code 78: Remote address changed
OS error code 79: can not access a needed shared library
OS error code 80: accessing a successfully upted shared library
OS error code 81:. Lib section in A. Out partition upted
OS Error Code 82: attempting to link in too internal shared libraries
OS Error Code 83: cannot exec a shared library directly
OS error code 84: Invalid or incomplete multibyte or wide character
OS Error Code 85: interrupted System Call shoshould be restarted
OS error code 86: streams pipe Error
OS error code 87: Too policusers
OS error code 88: socket operation on Non-socket
OS error code 89: Destination Address required
OS error code 90: Message too long
OS error code 91: Protocol wrong type for socket
OS Error Code 92: protocol not available
OS error code 93: protocol not supported
OS error code 94: socket type not supported
OS error code 95: operation not supported
OS Error Code 96: protocol family not supported
OS error code 97: address family not supported by Protocol
OS Error Code 98: address already in use
OS error code 99: cannot assign requested address
Operating error code 100: network is down
Operating error code 101: network is unreachable
OS error code 102: Network dropped connection on Reset
OS error code 103: Software caused connection abort
OS Error Code 104: Connection reset by peer
OS error code 105: no buffer space available
OS Error Code 106: transport endpoint is already connected
OS error code 107: transport endpoint is not connected
OS error code 108: cannot send after transport endpoint Shutdown
OS error code 109: Too condition references: cannot splice
OS error code 110: Connection timed out
OS error code 111: Connection refused
Operating error code 112: host is down
Operating Error Code 113: No route to host
Operating error code 114: operation already in progress
Operating error code 115: operation now in progress
OS error code 116: stale NFS file handle
OS error code 117: structure needs cleaning
OS error code 118: Not A XENIX named type file
OS error code 119: No XENIX semaphores available
Operating Error Code 120: Is a named type file
Operating Error Code 121: Remote I/O Error
OS Error Code 122: Disk Quota exceeded
OS Error Code 123: no medium found
OS Error Code 124: Wrong medium type
Operating Error Code 125: Operation canceled
Operating error code 126: required key not available
Operating Error Code 127: Key has expired
OS error code 128: key has been revoked
OS error code 129: Key was rejected by service
Operating system error code 130: Owner died
OS error code 131: State not recoverable
MySQL Error Code 132: Old database file
MySQL error code 133: no record read before update
MySQL error code 134: record was already deleted (or record file crashed)
MySQL error code 135: no more room in record file
MySQL error code 136: no more room in index file
MySQL error code 137: No more records (read after end of file)
MySQL error code 138: Unsupported extension used for table
MySQL error code 139: Too big row
Mysqlerror code 140: Wrong create options
MySQL error code 141: duplicate unique key or constraint on write or update
MySQL error code 142: unknown character set used
MySQL Error Code 143: conflicting table definitions in sub-tables of MERGE table
MySQL Error Code 144: Table is crashed and last repair failed
MySQL error code 145: Table was marked as crashed and shoshould be retried red
MySQL error code 146: Lock timed out; retry transaction
MySQL error code 147: Lock table is full; restart program with a larger locktabl
MySQL error code 148: updates are not allowed under a read only transactions
MySQL error code 149: Lock deadlock; retry transaction.
MySQL error code 150: foreign key constraint is incorrectly formed
MySQL error code 151: cannot add a child row
MySQL error code 152: cannot delete a parent row