1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: size_t read(int fd, void *buf, size_t count)
25 File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
31 Max number of bytes to read
36 This system call returns filtered data, which might be section or PES
37 data. The filtered data is transferred from the driver’s internal
38 circular buffer to buf. The maximum amount of data to be transferred is
44 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
55 - No data to return and O_NONBLOCK was specified.
61 - fd is not a valid open file descriptor.
67 - Last section had a CRC error - no data returned. The buffer is
79 - The filtered data was not read from the buffer in due time,
80 resulting in non-read data being lost. The buffer is flushed.
86 - The section was not loaded within the stated timeout period. See
87 ioctl DMX_SET_FILTER for how to set a timeout.
93 - The driver failed to write to the callers buffer due to an invalid