.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. c:namespace:: DTV.video

.. _video_fclose:

=================
dvb video close()
=================

Name
----

dvb video close()

.. attention:: This ioctl is deprecated.

Synopsis
--------

.. c:function:: int close(int fd)

Arguments
---------

.. flat-table::
    :header-rows:  0
    :stub-columns: 0

    -  .. row 1

       -  int fd

       -  File descriptor returned by a previous call to open().

Description
-----------

This system call closes a previously opened video device.

Return Value
------------

.. flat-table::
    :header-rows:  0
    :stub-columns: 0

    -  .. row 1

       -  ``EBADF``

       -  fd is not a valid open file descriptor.