Merge remote-tracking branch 'vfio/next'
[deliverable/linux.git] / Documentation / media / uapi / rc / lirc-set-rec-timeout-reports.rst
CommitLineData
572c194b
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _lirc_set_rec_timeout_reports:
4
5**********************************
6ioctl LIRC_SET_REC_TIMEOUT_REPORTS
7**********************************
8
9Name
10====
11
12LIRC_SET_REC_TIMEOUT_REPORTS - enable or disable timeout reports for IR receive
13
14Synopsis
15========
16
15c19014
MCC
17.. c:function:: int ioctl( int fd, LIRC_SET_REC_TIMEOUT_REPORTS, __u32 *enable )
18 :name: LIRC_SET_REC_TIMEOUT_REPORTS
572c194b
MCC
19
20Arguments
21=========
22
23``fd``
24 File descriptor returned by open().
25
572c194b
MCC
26``enable``
27 enable = 1 means enable timeout report, enable = 0 means disable timeout
28 reports.
29
30
31Description
32===========
33
34Enable or disable timeout reports for IR receive. By default, timeout reports
35should be turned off.
36
37.. note::
38
39 This ioctl is only valid for :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`.
40
41
42Return Value
43============
44
45On success 0 is returned, on error -1 and the ``errno`` variable is set
46appropriately. The generic error codes are described at the
47:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.042949 seconds and 5 git commands to generate.