Lines Matching +full:wait +full:- +full:state
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 .. _gen-errors:
14 .. flat-table:: Generic error codes
15 :header-rows: 0
16 :stub-columns: 0
20 - - ``EAGAIN`` (aka ``EWOULDBLOCK``)
22 - The ioctl can't be handled because the device is in state where it
25 is also returned when the ioctl would need to wait for an event,
26 but the device was opened in non-blocking mode.
28 - - ``EBADF``
30 - The file descriptor is not a valid.
32 - - ``EBUSY``
34 - The ioctl can't be handled because the device is busy. This is
41 - - ``EFAULT``
43 - There was a failure while copying data from/to userspace, probably
46 - - ``EINVAL``
48 - One or more of the ioctl parameters are invalid or out of the
52 - - ``ENODEV``
54 - Device not found or was removed.
56 - - ``ENOMEM``
58 - There's not enough memory to handle the desired operation.
60 - - ``ENOTTY``
62 - The ioctl is not supported by the file descriptor.
64 - - ``ENOSPC``
66 - On USB devices, the stream ioctl's can return this error, meaning
70 - - ``EPERM``
72 - Permission denied. Can be returned if the device needs write
75 - - ``EIO``
77 - I/O error. Typically used when there are problems communicating with
81 - - ``ENXIO``
83 - No device corresponding to this device special file exists.
91 assume that the device is in a bad state.
93 #. Request-specific error codes are listed in the individual