1 .. -*- coding: utf-8; mode: rst -*-
18 .. cpp:function:: size_t write(int fd, const void *buf, size_t count)
33 - File descriptor returned by a previous call to open().
39 - Pointer to the buffer containing the PES data.
51 This system call can only be used if VIDEO_SOURCE_MEMORY is selected
52 in the ioctl call VIDEO_SELECT_SOURCE. The data provided shall be in
53 PES format, unless the capability allows other formats. If O_NONBLOCK
54 is not specified the function will block until buffer space is
55 available. The amount of data to be transferred is implied by count.
70 - Mode VIDEO_SOURCE_MEMORY not selected.
76 - Attempted to write more data than the internal buffer can hold.
82 - fd is not a valid open file descriptor.