Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / ca-fclose.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _ca_fclose:
4
5 =====================
6 Digital TV CA close()
7 =====================
8
9 Name
10 ----
11
12 Digital TV CA close()
13
14
15 Synopsis
16 --------
17
18 .. c:function:: int close(int fd)
19     :name: dvb-ca-close
20
21
22 Arguments
23 ---------
24
25 ``fd``
26   File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
27
28 Description
29 -----------
30
31 This system call closes a previously opened CA device.
32
33
34 Return Value
35 ------------
36
37 On success 0 is returned.
38
39 On error -1 is returned, and the ``errno`` variable is set
40 appropriately.
41
42 Generic error codes are described at the
43 :ref:`Generic Error Codes <gen-errors>` chapter.