Programs using the UNIX-type functions may receive error
information as errno values. The possible
values returned are
listed here in ascending errno value sequence.
| Name | Value | Text
|
|---|---|---|
| EDOM | 3001 | Domain error in math function |
| ERANGE | 3002 | Range error in math function |
| ETRUNC | 3003 | Truncation on I/O operation |
| ENOTOPEN | 3004 | File has not been opened |
| ENOTREAD | 3005 | File not opened for read |
| EIO | 3006 | Input/output error |
| ENODEV | 3007 | No such device |
| ERECIO | 3008 | File opened for record I/O |
| ENOTWRITE | 3009 | File not opened for write |
| ESTDIN | 3010 | Stdin cannot be opened |
| ESTDOUT | 3011 | Stdout cannot be opened |
| ESTDERR | 3012 | Stderr cannot be opened |
| EBADSEEK | 3013 | The positioning parameter in fseek is not correct |
| EBADNAME | 3014 | Invalid file name specified |
| EBADMODE | 3015 | Invalid file mode specified |
| EBADPOS | 3017 | Invalid position specifier |
| ENOPOS | 3018 | No record at specified position |
| ENUMMBRS | 3019 | No ftell if more than 1 member |
| ENUMRECS | 3020 | No ftell if too many records |
| EINVAL | 3021 | Invalid argument |
| EBADFUNC | 3022 | Invalid function pointer |
| ENOENT | 3025 | No such file or library |
| ENOREC | 3026 | Record not found |
| EPERM | 3027 | Operation not permitted |
| EBADDATA | 3028 | Message data invalid |
| EBUSY | 3029 | Resource busy |
| EBADOPT | 3040 | Bad option on I/O function |
| ENOTUPD | 3041 | File not opened for update |
| ENOTDLT | 3042 | File not opened for delete |
| EPAD | 3043 | Padding occurred on write operation |
| EBADKEYLN | 3044 | Bad key length option |
| EPUTANDGET | 3080 | Illegal write after read |
| EGETANDPUT | 3081 | Illegal read after write |
| EIOERROR | 3101 | I/O exception non-recoverable error |
| EIORECERR | 3102 | I/O exception recoverable error |
| EACCES | 3401 | Permission denied |
| ENOTDIR | 3403 | Not a directory |
| ENOSPC | 3404 | No space available |
| EXDEV | 3405 | Improper link |
| EWOULDBLOCK | 3406 | Operation would have caused the process to be suspended |
| EAGAIN | 3406 | Operation would have caused the process to be suspended |
| EINTR | 3407 | Interrupted function call |
| EFAULT | 3408 | The address used for an argument was not correct |
| ENXIO | 3415 | No such device or address |
| EADDRINUSE | 3420 | Address already in use |
| EADDRNOTAVAIL | 3421 | Address not available |
| EAFNOSUPPORT | 3422 | The type of socket is not supported in this protocol family |
| EALREADY | 3423 | Operation already in progress |
| ECONNABORTED | 3424 | Connection ended abnormally |
| ECONNREFUSED | 3425 | A remote host refused an attempted connect operation |
| ECONNRESET | 3426 | A connection with a remote socket was reset by that socket |
| EDESTADDRREQ | 3427 | Operation requires destination address |
| EHOSTDOWN | 3428 | A remote host is not available |
| EHOSTUNREACH | 3429 | A route to the remote host is not available |
| EINPROGRESS | 3430 | Operation in progress |
| EISCONN | 3431 | A connection has already been established |
| EMSGSIZE | 3432 | Message size out of range |
| ENETDOWN | 3433 | The network is not currently available |
| ENETRESET | 3434 | A socket is connected to a host that is no longer available |
| ENETUNREACH | 3435 | Cannot reach the destination network |
| ENOBUFS | 3436 | There is not enough buffer space for the requested operation |
| ENOPROTOOPT | 3437 | The protocol does not support the specified option |
| ENOTCONN | 3438 | Requested operation requires a connection |
| ENOTSOCK | 3439 | The specified descriptor does not reference a socket |
| ENOTSUP | 3440 | Operation not supported |
| EOPNOTSUPP | 3440 | Operation not supported |
| EPFNOSUPPORT | 3441 | The socket protocol family is not supported |
| EPROTONOSUPPORT | 3442 | No protocol of the specified type and domain exists |
| EPROTOTYPE | 3443 | The socket type or protocols are not compatible |
| ERCVDERR | 3444 | An error indication was sent by the peer program |
| ESHUTDOWN | 3445 | Cannot send data after a shutdown |
| ESOCKTNOSUPPORT | 3446 | The specified socket type is not supported |
| ETIMEDOUT | 3447 | A remote host did not respond within the timeout period |
| EUNATCH | 3448 | The protocol required to support the specified address family is not available at this time |
| EBADF | 3450 | Descriptor not valid |
| EMFILE | 3452 | Too many open files for this process |
| ENFILE | 3453 | Too many open files in the system |
| EPIPE | 3455 | Broken pipe |
| EEXIST | 3457 | File exists |
| EDEADLK | 3459 | Resource deadlock avoided |
| ENOMEM | 3460 | Storage allocation request failed |
| EOWNERTERM | 3462 | The synchronization object no longer exists because the owner is no longer running |
| EDESTROYED | 3463 | The synchronization object was destroyed or the object no longer exists |
| ETERM | 3464 | Operation terminated |
| EMLINK | 3468 | Maximum link count for a file was exceeded |
| ESPIPE | 3469 | Seek request not supported for object |
| ENOSYS | 3470 | Function not implemented |
| EISDIR | 3471 | Specified target is a directory |
| EROFS | 3472 | Read-only file system |
| EUNKNOWN | 3474 | Unknown system state |
| EITERBAD | 3475 | Iterator is invalid |
| EDAMAGE | 3484 | A damaged object was encountered |
| ELOOP | 3485 | A loop exists in the symbolic links |
| ENAMETOOLONG | 3486 | A path name is too long |
| ENOLCK | 3487 | No locks available |
| ENOTEMPTY | 3488 | Directory not empty |
| ENOSYSRSC | 3489 | System resources not available to complete request |
| ECONVERT | 3490 | Conversion error |
| E2BIG | 3491 | Argument list too long |
| EILSEQ | 3492 | Conversion stopped due to input character that does not belong to input codeset |
| ESOFTDAMAGE | 3497 | Object has soft damage |
| ENOTENROLL | 3498 | User not enrolled in system distribution directory |
| EOFFLINE | 3499 | Object is suspended |
| EROOBJ | 3500 | Object is a read only object |
| ELOCKED | 3506 | Area being read from or written to is locked |
| EFBIG | 3507 | Object too large |
| EIDRM | 3509 | The semaphore, shared memory, or message queue identifier is removed from the system |
| ENOMSG | 3510 | The queue does not contain a message of the desired type |
| EFILECVT | 3511 | File ID conversion of a directory failed |
| EBADFID | 3512 | A file ID could not be assigned when linking an object to a directory |
| ESRCH | 3515 | No such process |
| ENOTSIGINIT | 3516 | Process not enabled for signals |
| ECHILD | 3517 | No child process |
| ETOOMANYREFS | 3523 | The operation would have exceeded the maximum number of references allowed for a descriptor |
| ENOTSAFE | 3524 | Function not allowed |
| EOVERFLOW | 3525 | Object is too large to process |
| EJRNDAMAGE | 3526 | Journal damaged |
| EJRNINACTIVE | 3527 | Journal inactive |
| EJRNRCVSPC | 3528 | Journal space or system storage error |
| EJRNRMT | 3529 | Journal is remote |
| ENEWJRNRCV | 3530 | New journal receiver is needed |
| ENEWJRN | 3531 | New journal is needed |
| EJOURNALED | 3532 | Object already journaled |
| EJRNENTTOOLONG | 3533 | Entry too large to send |
| EDATALINK | 3534 | Object is a datalink object |
| Top | UNIX APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |