Commit 5cd5f134 authored by Daniel Lundberg Pedersen's avatar Daniel Lundberg Pedersen Committed by Mauro Carvalho Chehab

media: docs: libv4l-introduction.rst: Fix function signature and link

v4l2_mmap returns a void*, also link to mmap instead of munmap
Signed-off-by: default avatarDaniel Lundberg Pedersen <dlp@qtec.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 74869a88
......@@ -136,9 +136,9 @@ V4L2 functions
operates like the :c:func:`read()` function.
.. c:function:: void v4l2_mmap(void *start, size_t length, int prot, int flags, int fd, int64_t offset);
.. c:function:: void *v4l2_mmap(void *start, size_t length, int prot, int flags, int fd, int64_t offset);
operates like the :c:func:`munmap()` function.
operates like the :c:func:`mmap()` function.
.. c:function:: int v4l2_munmap(void *_start, size_t length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment