blob: 4b31ed364ae888d182f6742831490aac3bc05bb7 [file]
.. -*- coding: utf-8; mode: rst -*-
.. _DMX_SET_SEC_MEM:
==============
DMX_SET_SEC_MEM
==============
Name
----
DMX_SET_SEC_MEM
Synopsis
--------
.. c:function:: int ioctl(fd, DMX_SET_SEC_MEM, &dvr_mem)
:name: DMX_SET_SEC_MEM
Arguments
---------
``fd``
File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
``dvr_mem``
dvr_mem is struct dmx_sec_mem for filter mem, it will receive dvr data, this mem is phy mem
Description
-----------
This ioctl call allows to set dvr phy mem for get dvr data.
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.