1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.video
4 .. _VIDEO_CLEAR_BUFFER:
15 .. attention:: This ioctl is deprecated.
20 .. c:macro:: VIDEO_CLEAR_BUFFER
22 ``int ioctl(fd, VIDEO_CLEAR_BUFFER)``
35 - File descriptor returned by a previous call to open().
41 - Equals VIDEO_CLEAR_BUFFER for this command.
46 This ioctl call clears all video buffers in the driver and in the
52 On success 0 is returned, on error -1 and the ``errno`` variable is set
53 appropriately. The generic error codes are described at the
54 :ref:`Generic Error Codes <gen-errors>` chapter.