centos man page for kfifo_to_user

Query: kfifo_to_user

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KFIFO_TO_USER(9)						    FIFO Buffer 						  KFIFO_TO_USER(9)

NAME
kfifo_to_user - copies data from the fifo into user space
SYNOPSIS
kfifo_to_user(fifo, to, len, copied);
ARGUMENTS
fifo address of the fifo to be used to where the data must be copied len the size of the destination buffer copied pointer to output variable to store the number of copied bytes
DESCRIPTION
This macro copies at most len bytes from the fifo into the to buffer and returns -EFAULT/0. Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these macro.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KFIFO_TO_USER(9)
Related Man Pages
fifo(3tcl) - sunos
fifo(3tcl) - opendarwin
fifo(7) - osx
fifo(3tcl) - plan9
fifo(7) - mojave
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
CentOS 6 ran out of space, need to reclaim it
Controlling user input