Linux 4.8.3
[linux/fpc-iii.git] / Documentation / media / uapi / dvb / ca-set-pid.rst
blob5afa2fae3206667301cc6300098619f0731d142d
1 .. -*- coding: utf-8; mode: rst -*-
3 .. _CA_SET_PID:
5 ==========
6 CA_SET_PID
7 ==========
9 Name
10 ----
12 CA_SET_PID
15 Synopsis
16 --------
18 .. cpp:function:: int  ioctl(fd, int request = CA_SET_PID, ca_pid_t *)
21 Arguments
22 ---------
24 .. flat-table::
25     :header-rows:  0
26     :stub-columns: 0
29     -  .. row 1
31        -  int fd
33        -  File descriptor returned by a previous call to open().
35     -  .. row 2
37        -  int request
39        -  Equals CA_SET_PID for this command.
41     -  .. row 3
43        -  ca_pid_t \*
45        -  Undocumented.
48 Description
49 -----------
51 This ioctl is undocumented. Documentation is welcome.
54 Return Value
55 ------------
57 On success 0 is returned, on error -1 and the ``errno`` variable is set
58 appropriately. The generic error codes are described at the
59 :ref:`Generic Error Codes <gen-errors>` chapter.