fe-get-frontend.rst 1009 B

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