summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/cec/cec-func-poll.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2016-07-08 21:55:43 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 23:39:15 +0300
commit21c62694499800f74def88edfbd5dcd91c492b79 (patch)
treef8998e60c0400ba5475dba3685d9ac0ca1984b9d /Documentation/media/uapi/cec/cec-func-poll.rst
parente2460b1d579a6ea4f90cf2915da87b16b59e0082 (diff)
downloadlinux-21c62694499800f74def88edfbd5dcd91c492b79.tar.xz
[media] doc-rst: linux_tc CEC enhanced markup
leaved content unchanged, only improved markup and references * more man-like sections (add Name section) * defined target for each stuct field description * replace constant with ":ref:" to (field) description Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/cec/cec-func-poll.rst')
-rw-r--r--Documentation/media/uapi/cec/cec-func-poll.rst20
1 files changed, 8 insertions, 12 deletions
diff --git a/Documentation/media/uapi/cec/cec-func-poll.rst b/Documentation/media/uapi/cec/cec-func-poll.rst
index ee559217c4f1..ff5175fbf62f 100644
--- a/Documentation/media/uapi/cec/cec-func-poll.rst
+++ b/Documentation/media/uapi/cec/cec-func-poll.rst
@@ -6,9 +6,10 @@
cec poll()
**********
-*man cec-poll(2)*
+Name
+====
-Wait for some event on a file descriptor
+cec-poll - Wait for some event on a file descriptor
Synopsis
@@ -19,7 +20,11 @@ Synopsis
#include <sys/poll.h>
-.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
+.. cpp:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
+
+Arguments
+=========
+
Description
===========
@@ -63,12 +68,3 @@ EINTR
EINVAL
The ``nfds`` argument is greater than ``OPEN_MAX``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------