brintos

brintos / linux-shallow public Read only

0
0
Text · 824 B · 52c323a Raw
47 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.fe3 4.. _frontend_f_close:5 6***************************7Digital TV frontend close()8***************************9 10Name11====12 13fe-close - Close a frontend device14 15Synopsis16========17 18.. code-block:: c19 20    #include <unistd.h>21 22.. c:function:: int close( int fd )23 24Arguments25=========26 27``fd``28    File descriptor returned by :c:func:`open()`.29 30Description31===========32 33This system call closes a previously opened front-end device. After34closing a front-end device, its corresponding hardware might be powered35down automatically.36 37Return Value38============39 40On success 0 is returned.41 42On error -1 is returned, and the ``errno`` variable is set43appropriately.44 45Generic error codes are described at the46:ref:`Generic Error Codes <gen-errors>` chapter.47