Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / ca-set-pid.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _CA_SET_PID:
4
586027ce 5==========
47d23e36
MCC
6CA_SET_PID
7==========
8
15e7d615 9Name
586027ce 10----
47d23e36 11
586027ce 12CA_SET_PID
47d23e36 13
15e7d615
MCC
14
15Synopsis
47d23e36
MCC
16--------
17
189d7243 18.. c:function:: int ioctl(fd, CA_SET_PID, struct ca_pid *pid)
cf8076c3 19 :name: CA_SET_PID
47d23e36 20
47d23e36 21
15e7d615 22Arguments
586027ce 23---------
47d23e36 24
cf8076c3
MCC
25``fd``
26 File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
47d23e36 27
cf8076c3 28``pid``
cdb1c896
MCC
29 Pointer to struct :c:type:`ca_pid`.
30
31.. c:type:: ca_pid
32
33.. flat-table:: struct ca_pid
34 :header-rows: 1
35 :stub-columns: 0
36
37 -
38 - unsigned int
39 - pid
40 - Program ID
41
42 -
43 - int
44 - index
45 - PID index. Use -1 to disable.
46
47d23e36
MCC
47
48
15e7d615 49Description
586027ce
MCC
50-----------
51
cf8076c3 52.. note:: This ioctl is undocumented. Documentation is welcome.
586027ce
MCC
53
54
15e7d615 55Return Value
47d23e36
MCC
56------------
57
58On success 0 is returned, on error -1 and the ``errno`` variable is set
59appropriately. The generic error codes are described at the
60:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.045906 seconds and 5 git commands to generate.