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