fe-get-frontend.rst 990 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _FE_GET_FRONTEND:
  3. ***************
  4. FE_GET_FRONTEND
  5. ***************
  6. Name
  7. ====
  8. FE_GET_FRONTEND
  9. .. attention:: This ioctl is deprecated.
  10. Synopsis
  11. ========
  12. .. c:function:: int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)
  13. :name: FE_GET_FRONTEND
  14. Arguments
  15. =========
  16. ``fd``
  17. File descriptor returned by :c:func:`open() <dvb-fe-open>`.
  18. ``p``
  19. Points to parameters for tuning operation.
  20. Description
  21. ===========
  22. This ioctl call queries the currently effective frontend parameters. For
  23. this command, read-only access to the device is sufficient.
  24. Return Value
  25. ============
  26. On success 0 is returned.
  27. On error -1 is returned, and the ``errno`` variable is set
  28. appropriately.
  29. .. flat-table::
  30. :header-rows: 0
  31. :stub-columns: 0
  32. - .. row 1
  33. - ``EINVAL``
  34. - Maximum supported symbol rate reached.
  35. Generic error codes are described at the
  36. :ref:`Generic Error Codes <gen-errors>` chapter.