fe-get-frontend.rst 981 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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, on error -1 and the ``errno`` variable is set
  27. appropriately. The generic error codes are described at the
  28. :ref:`Generic Error Codes <gen-errors>` chapter.
  29. .. flat-table::
  30. :header-rows: 0
  31. :stub-columns: 0
  32. - .. row 1
  33. - ``EINVAL``
  34. - Maximum supported symbol rate reached.