1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.audio
6 =========================
7 Digital TV audio write()
8 =========================
13 Digital TV audio write()
15 .. attention:: This ioctl is deprecated
20 .. c: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.
50 This system call can only be used if AUDIO_SOURCE_MEMORY is selected
51 in the ioctl call AUDIO_SELECT_SOURCE. The data provided shall be in
52 PES format. If O_NONBLOCK is not specified the function will block
53 until buffer space is available. The amount of data to be transferred is
67 - Mode AUDIO_SOURCE_MEMORY not selected.
73 - Attempted to write more data than the internal buffer can hold.
79 - fd is not a valid open file descriptor.