Merge remote-tracking branch 'ftrace/for-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / ca-get-msg.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _CA_GET_MSG:
4
586027ce 5==========
47d23e36
MCC
6CA_GET_MSG
7==========
8
15e7d615 9Name
586027ce 10----
47d23e36 11
586027ce 12CA_GET_MSG
47d23e36 13
15e7d615
MCC
14
15Synopsis
47d23e36
MCC
16--------
17
189d7243 18.. c:function:: int ioctl(fd, CA_GET_MSG, struct ca_msg *msg)
cf8076c3 19 :name: CA_GET_MSG
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``msg``
e0927092
MCC
29 Pointer to struct :c:type:`ca_msg`.
30
31
32.. c:type:: struct ca_msg
33
34.. flat-table:: struct ca_msg
35 :header-rows: 1
36 :stub-columns: 0
37
38 -
39 - type
40 - name
41 - description
42 -
43 - unsigned int
44 - index
45 -
46
47 -
48 - unsigned int
49 - type
50 -
51
52 -
53 - unsigned int
54 - length
55 -
56
57 -
58 - unsigned char
59 - msg[256]
60 -
47d23e36
MCC
61
62
15e7d615 63Description
586027ce
MCC
64-----------
65
cf8076c3 66.. note:: This ioctl is undocumented. Documentation is welcome.
586027ce
MCC
67
68
15e7d615 69Return Value
47d23e36
MCC
70------------
71
72On success 0 is returned, on error -1 and the ``errno`` variable is set
73appropriately. The generic error codes are described at the
74:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.046755 seconds and 5 git commands to generate.