summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/dvb/frontend_f_close.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/media/uapi/dvb/frontend_f_close.rst')
-rw-r--r--Documentation/media/uapi/dvb/frontend_f_close.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/media/uapi/dvb/frontend_f_close.rst b/Documentation/media/uapi/dvb/frontend_f_close.rst
index f3b04b60246c..791434bd9548 100644
--- a/Documentation/media/uapi/dvb/frontend_f_close.rst
+++ b/Documentation/media/uapi/dvb/frontend_f_close.rst
@@ -41,8 +41,10 @@ down automatically.
Return Value
============
-The function returns 0 on success, -1 on failure and the ``errno`` is
-set appropriately. Possible error codes:
+On success 0 is returned.
-EBADF
- ``fd`` is not a valid open file descriptor.
+On error -1 is returned, and the ``errno`` variable is set
+appropriately.
+
+Generic error codes are described at the
+:ref:`Generic Error Codes <gen-errors>` chapter.