| Previous | Next |
| EALREADY | ENOSYS |
ECHRNG
The channel namespace is interface-specific
ECHRNG is errno 37 in Solaris and illumos and is labeled Channel number out of range
. Oracle's current catalog does not attach it to a general modern syscall, and POSIX does not define the name. The valid range therefore comes from the legacy producer's channel model.
This is more specific than a generic EINVAL: a selected channel number failed a range constraint. It is also different from ELNRNG, which refers to a link number. Treating both pages as identical “old driver” errors hides the field that should be captured.
Capture the rejected channel value
- Log the channel number, configured maximum, and interface version at the call site that returns errno 37.
- Check integer truncation and stale constants when ported code passes channel identifiers across structures or ABIs.
- If only a numeric errno is available from another platform, verify its source headers before assigning the Solaris
ECHRNGname.
References
Looking for a different code? Search another status or error code.
