suse man page for kfifo_to_user

Query: kfifo_to_user

OS: suse

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 - gets data from the FIFO and write it to user space
SYNOPSIS
int kfifo_to_user(struct kfifo * fifo, void __user * to, unsigned int len, unsigned * lenout);
ARGUMENTS
fifo the fifo to be used. to where the data must be copied. len the size of the destination buffer. lenout pointer to output variable with copied data
DESCRIPTION
This function copies at most len bytes from the FIFO into the to buffer and 0 or -EFAULT. Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KFIFO_TO_USER(9)
Related Man Pages
copystr(9) - mojave
copyout(9) - freebsd
copy(9) - osx
copyin_nofault(9) - freebsd
copystr(9) - freebsd
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
A (ksh) Library For and From UNIX.com
Docker learning Phase-I