Lines Matching full:function
123 Those functions operate just like the gcc function ``dup()`` and
129 .. c:function:: int v4l2_open(const char *file, int oflag, ...)
131 operates like the :c:func:`open() <v4l2-open>` function.
133 .. c:function:: int v4l2_close(int fd)
135 operates like the :c:func:`close() <v4l2-close>` function.
137 .. c:function:: int v4l2_dup(int fd)
139 operates like the libc ``dup()`` function, duplicating a file handler.
141 .. c:function:: int v4l2_ioctl (int fd, unsigned long int request, ...)
143 operates like the :c:func:`ioctl() <v4l2-ioctl>` function.
145 .. c:function:: int v4l2_read (int fd, void* buffer, size_t n)
147 operates like the :c:func:`read() <v4l2-read>` function.
149 .. c:function:: void v4l2_mmap(void *start, size_t length, int prot, int flags, int fd, int64_t off…
151 operates like the :c:func:`munmap() <v4l2-munmap>` function.
153 .. c:function:: int v4l2_munmap(void *_start, size_t length);
155 operates like the :c:func:`munmap() <v4l2-munmap>` function.
159 .. c:function:: int v4l2_fd_open(int fd, int v4l2_flags)
166 .. c:function:: int v4l2_set_control(int fd, int cid, int value)
168 This function takes a value of 0 - 65535, and then scales that range to the
172 .. c:function:: int v4l2_get_control(int fd, int cid)
174 This function returns a value of 0 - 65535, scaled to from the actual range