Skip to content

Commit

Permalink
[media] DocBook: EAGAIN == EWOULDBLOCK
Browse files Browse the repository at this point in the history
Merge the two entries since they are one and the same error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 26, 2012
1 parent 7c287e9 commit 6473262
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Documentation/DocBook/media/v4l/gen-errors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
<tbody valign="top">
<!-- Keep it ordered alphabetically -->
<row>
<entry>EAGAIN</entry>
<entry>EAGAIN (aka EWOULDBLOCK)</entry>
<entry>The ioctl can't be handled because the device is in state where
it can't perform it. This could happen for example in case where
device is sleeping and ioctl is performed to query statistics.
It is also returned when the ioctl would need to wait
for an event, but the device was opened in non-blocking mode.
</entry>
</row>
<row>
Expand Down Expand Up @@ -63,11 +65,6 @@
permission, or some special capabilities is needed
(e. g. root)</entry>
</row>
<row>
<entry>EWOULDBLOCK</entry>
<entry>Operation would block. Used when the ioctl would need to wait
for an event, but the device was opened in non-blocking mode.</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down

0 comments on commit 6473262

Please sign in to comment.