Merge branch 'for-4.15/alps' into for-linus
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / dmx-fclose.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _dmx_fclose:
4
5 ========================
6 Digital TV demux close()
7 ========================
8
9 Name
10 ----
11
12 Digital TV demux close()
13
14
15 Synopsis
16 --------
17
18 .. c:function:: int close(int fd)
19     :name: dvb-dmx-close
20
21
22 Arguments
23 ---------
24
25 ``fd``
26   File descriptor returned by a previous call to
27   :c:func:`open() <dvb-dmx-open>`.
28
29 Description
30 -----------
31
32 This system call deactivates and deallocates a filter that was
33 previously allocated via the :c:func:`open() <dvb-dmx-open>` call.
34
35
36 Return Value
37 ------------
38
39 On success 0 is returned.
40
41 On error, -1 is returned and the ``errno`` variable is set
42 appropriately.
43
44 The generic error codes are described at the
45 :ref:`Generic Error Codes <gen-errors>` chapter.