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 DMX_SET_PES_FILTER and output equal to
43 On success 0 is returned, on error -1 and the ``errno`` variable is set
44 appropriately. The generic error codes are described at the
45 :ref:`Generic Error Codes <gen-errors>` chapter.