blob: 165e1635bb9bc93c40c83d1df39e541ca99b10d0 [file] [log] [blame]
.. -*- coding: utf-8; mode: rst -*-
.. _DMX_GET_HW_SOURCE:
==============
DMX_GET_HW_SOURCE
==============
Name
----
DMX_GET_HW_SOURCE
Synopsis
--------
.. c:function:: int ioctl(fd, DMX_GET_HW_SOURCE, &source)
:name: DMX_GET_HW_SOURCE
Arguments
---------
``fd``
File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
``source``
source is DMA0~7/FRONTEND0~7
Description
-----------
This ioctl call allows to get dmx source, this source is one stream id.
Return Value
------------
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.