| Previous | Next |
| ENODATA | ENOSR |
ETIME
ETIME is Solaris errno value 62, Timer expired
. Solaris documents two important contexts: a timer for a STREAMS ioctl() can expire, and timed condition-wait interfaces can return the value. The same errno therefore does not identify one universal timeout mechanism.
STREAMS ioctl timeouts require special care
For a timed STREAMS ioctl, Oracle says the cause is device-specific and can reflect hardware, software, or a timeout value that is too short. It also states that the status of the ioctl operation is indeterminate after the timer expires. Before retrying a state-changing command, query the device or protocol state when possible; a blind duplicate operation can be unsafe if the original request actually took effect.
For a timed condition wait, record the absolute or relative deadline used by that interface and the synchronization state around the wait. Do not diagnose these cases from network traces merely because ETIMEDOUT is a familiar socket errno. On Solaris, ETIME and ETIMEDOUT have distinct documented uses, and the failing API is the first discriminator.
References
- Oracle Solaris intro(2): ETIME
- Oracle Solaris streamio(7I): STREAMS ioctl timeout behavior
- illumos errno.h
Looking for a different code? Search another status or error code.