Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/linux/kerne...
[linux-2.6-microblaze.git] / Documentation / userspace-api / media / dvb / ca-fclose.rst
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.ca
3
4 .. _ca_fclose:
5
6 =====================
7 Digital TV CA close()
8 =====================
9
10 Name
11 ----
12
13 Digital TV CA close()
14
15 Synopsis
16 --------
17
18 .. c:function:: int close(int fd)
19
20 Arguments
21 ---------
22
23 ``fd``
24   File descriptor returned by a previous call to :c:func:`open()`.
25
26 Description
27 -----------
28
29 This system call closes a previously opened CA device.
30
31 Return Value
32 ------------
33
34 On success 0 is returned.
35
36 On error -1 is returned, and the ``errno`` variable is set
37 appropriately.
38
39 Generic error codes are described at the
40 :ref:`Generic Error Codes <gen-errors>` chapter.