Merge remote-tracking branch 'ftrace/for-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / frontend_f_close.rst
... / ...
CommitLineData
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _frontend_f_close:
4
5********************
6DVB frontend close()
7********************
8
9Name
10====
11
12fe-close - Close a frontend device
13
14
15Synopsis
16========
17
18.. code-block:: c
19
20 #include <unistd.h>
21
22
23.. c:function:: int close( int fd )
24 :name: dvb-fe-close
25
26Arguments
27=========
28
29``fd``
30 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
31
32
33Description
34===========
35
36This system call closes a previously opened front-end device. After
37closing a front-end device, its corresponding hardware might be powered
38down automatically.
39
40
41Return Value
42============
43
44The function returns 0 on success, -1 on failure and the ``errno`` is
45set appropriately. Possible error codes:
46
47EBADF
48 ``fd`` is not a valid open file descriptor.
This page took 0.024744 seconds and 5 git commands to generate.