1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3.. _ca_fclose:
4
5=====================
6Digital TV CA close()
7=====================
8
9Name
10----
11
12Digital TV CA close()
13
14
15Synopsis
16--------
17
18.. c:function:: int close(int fd)
19    :name: dvb-ca-close
20
21
22Arguments
23---------
24
25``fd``
26  File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
27
28Description
29-----------
30
31This system call closes a previously opened CA device.
32
33
34Return Value
35------------
36
37On success 0 is returned.
38
39On error -1 is returned, and the ``errno`` variable is set
40appropriately.
41
42Generic error codes are described at the
43:ref:`Generic Error Codes <gen-errors>` chapter.
44