diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-04 12:39:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-04 12:39:49 -0300 |
commit | e3a54ab8ce827319062a6cf6f5a68f7d668a276c (patch) | |
tree | e9dee39cc2f6f4a0ceb0f6d20f0e3ab27674f21e /Documentation | |
parent | d090484c76f16eb775841235488fdbb88920580f (diff) | |
download | linux-e3a54ab8ce827319062a6cf6f5a68f7d668a276c.tar.bz2 |
doc-rst: FE_GET_EVENT: improve man-like format
Parsing this file were causing lots of warnings with sphinx,
due to the c function prototypes.
Fix that by prepending them with .. c:function::
While here, use the same way we document man-like pages,
at the V4L side of the book and add escapes to asterisks.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst b/Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst index 08a090212f96..e0c66b877ada 100644 --- a/Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst +++ b/Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst @@ -6,7 +6,8 @@ FE_GET_EVENT ************ -DESCRIPTION +Description +----------- This ioctl call returns a frontend event if available. If an event is not available, the behavior depends on whether the device is in blocking @@ -14,12 +15,13 @@ or non-blocking mode. In the latter case, the call fails immediately with errno set to ``EWOULDBLOCK``. In the former case, the call blocks until an event becomes available. -SYNOPSIS +Synopsis +-------- -int ioctl(int fd, int request = QPSK_GET_EVENT, struct -dvb_frontend_event *ev); +.. c:function:: int ioctl(int fd, int request = QPSK_GET_EVENT, struct dvb_frontend_event *ev) -PARAMETERS +Arguments +---------- @@ -52,7 +54,8 @@ PARAMETERS - if any, is to be stored. -RETURN VALUE +Return Value +------------ On success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the |