diff options
Diffstat (limited to 'Documentation/DocBook/media/v4l/gen-errors.xml')
| -rw-r--r-- | Documentation/DocBook/media/v4l/gen-errors.xml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml index 5bbf3ce1973a..7e29a4e1f696 100644 --- a/Documentation/DocBook/media/v4l/gen-errors.xml +++ b/Documentation/DocBook/media/v4l/gen-errors.xml | |||
| @@ -7,6 +7,15 @@ | |||
| 7 | <tbody valign="top"> | 7 | <tbody valign="top"> |
| 8 | <!-- Keep it ordered alphabetically --> | 8 | <!-- Keep it ordered alphabetically --> |
| 9 | <row> | 9 | <row> |
| 10 | <entry>EAGAIN (aka EWOULDBLOCK)</entry> | ||
| 11 | <entry>The ioctl can't be handled because the device is in state where | ||
| 12 | it can't perform it. This could happen for example in case where | ||
| 13 | device is sleeping and ioctl is performed to query statistics. | ||
| 14 | It is also returned when the ioctl would need to wait | ||
| 15 | for an event, but the device was opened in non-blocking mode. | ||
| 16 | </entry> | ||
| 17 | </row> | ||
| 18 | <row> | ||
| 10 | <entry>EBADF</entry> | 19 | <entry>EBADF</entry> |
| 11 | <entry>The file descriptor is not a valid.</entry> | 20 | <entry>The file descriptor is not a valid.</entry> |
| 12 | </row> | 21 | </row> |
| @@ -51,21 +60,11 @@ | |||
| 51 | for periodic transfers (up to 80% of the USB bandwidth).</entry> | 60 | for periodic transfers (up to 80% of the USB bandwidth).</entry> |
| 52 | </row> | 61 | </row> |
| 53 | <row> | 62 | <row> |
| 54 | <entry>ENOSYS or EOPNOTSUPP</entry> | ||
| 55 | <entry>Function not available for this device (dvb API only. Will likely | ||
| 56 | be replaced anytime soon by ENOTTY).</entry> | ||
| 57 | </row> | ||
| 58 | <row> | ||
| 59 | <entry>EPERM</entry> | 63 | <entry>EPERM</entry> |
| 60 | <entry>Permission denied. Can be returned if the device needs write | 64 | <entry>Permission denied. Can be returned if the device needs write |
| 61 | permission, or some special capabilities is needed | 65 | permission, or some special capabilities is needed |
| 62 | (e. g. root)</entry> | 66 | (e. g. root)</entry> |
| 63 | </row> | 67 | </row> |
| 64 | <row> | ||
| 65 | <entry>EWOULDBLOCK</entry> | ||
| 66 | <entry>Operation would block. Used when the ioctl would need to wait | ||
| 67 | for an event, but the device was opened in non-blocking mode.</entry> | ||
| 68 | </row> | ||
| 69 | </tbody> | 68 | </tbody> |
| 70 | </tgroup> | 69 | </tgroup> |
| 71 | </table> | 70 | </table> |
