kfifo_from_user(9) suse man page | unix.com

Man Page: kfifo_from_user

Operating Environment: suse

Section: 9

KFIFO_FROM_USER(9)						    FIFO Buffer 						KFIFO_FROM_USER(9)

NAME
kfifo_from_user - puts some data from user space into the FIFO
SYNOPSIS
int kfifo_from_user(struct kfifo * fifo, const void __user * from, unsigned int len, unsigned * total);
ARGUMENTS
fifo the fifo to be used. from pointer to the data to be added. len the length of the data to be added. total the actual returned data length.
DESCRIPTION
This function copies at most len bytes from the from into the FIFO depending and returns -EFAULT/0. 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_FROM_USER(9)
Related Man Pages
mkfifo(3) - redhat
fifo(n) - osx
fifo(3tcl) - opendarwin
fifo(3tcl) - x11r4
fifo(3tcl) - v7
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Shopt -s histappend
32 bit process addressing more than 4GB