1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: int ioctl(fd, DMX_ADD_PID, __u16 *pid)
26 File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
29 PID number to be filtered.
35 This ioctl call allows to add multiple PIDs to a transport stream filter
36 previously set up with :ref:`DMX_SET_PES_FILTER` and output equal to
37 :c:type:`DMX_OUT_TSDEMUX_TAP <dmx_output>`.
43 On success 0 is returned.
45 On error -1 is returned, and the ``errno`` variable is set
48 Generic error codes are described at the
49 :ref:`Generic Error Codes <gen-errors>` chapter.