dmx-set-source.rst 670 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _DMX_SET_SOURCE:
  3. ==============
  4. DMX_SET_SOURCE
  5. ==============
  6. Name
  7. ----
  8. DMX_SET_SOURCE
  9. Synopsis
  10. --------
  11. .. c:function:: int ioctl(fd, DMX_SET_SOURCE, struct dmx_source *src)
  12. :name: DMX_SET_SOURCE
  13. Arguments
  14. ---------
  15. ``fd``
  16. File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
  17. ``src``
  18. Undocumented.
  19. Description
  20. -----------
  21. .. note:: This ioctl is undocumented. Documentation is welcome.
  22. Return Value
  23. ------------
  24. On success 0 is returned, on error -1 and the ``errno`` variable is set
  25. appropriately. The generic error codes are described at the
  26. :ref:`Generic Error Codes <gen-errors>` chapter.