brintos

brintos / linux-shallow public Read only

0
0
Text · 803 B · ea0c7dd Raw
48 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.dmx3 4.. _DMX_ADD_PID:5 6===========7DMX_ADD_PID8===========9 10Name11----12 13DMX_ADD_PID14 15Synopsis16--------17 18.. c:macro:: DMX_ADD_PID19 20``int ioctl(fd, DMX_ADD_PID, __u16 *pid)``21 22Arguments23---------24 25``fd``26    File descriptor returned by :c:func:`open()`.27 28``pid``29   PID number to be filtered.30 31Description32-----------33 34This ioctl call allows to add multiple PIDs to a transport stream filter35previously set up with :ref:`DMX_SET_PES_FILTER` and output equal to36:c:type:`DMX_OUT_TSDEMUX_TAP <dmx_output>`.37 38Return Value39------------40 41On success 0 is returned.42 43On error -1 is returned, and the ``errno`` variable is set44appropriately.45 46Generic error codes are described at the47:ref:`Generic Error Codes <gen-errors>` chapter.48