1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: DTV.fe 3 4 .. _frontend_f_close: 5 6 *************************** 7 Digital TV frontend close() 8 *************************** 9 10 Name 11 ==== 12 13 fe-close - Close a frontend device 14 15 Synopsis 16 ======== 17 18 .. code-block:: c 19 20 #include <unistd.h> 21 22 .. c:function:: int close( int fd ) 23 24 Arguments 25 ========= 26 27 ``fd`` 28 File descriptor returned by :c:func:`open()`. 29 30 Description 31 =========== 32 33 This system call closes a previously opened front-end device. After 34 closing a front-end device, its corresponding hardware might be powered 35 down automatically. 36 37 Return Value 38 ============ 39 40 On success 0 is returned. 41 42 On error -1 is returned, and the ``errno`` variable is set 43 appropriately. 44 45 Generic error codes are described at the 46 :ref:`Generic Error Codes <gen-errors>` chapter.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.