Query: kfifo_from_user_rec
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KFIFO_FROM_USER_REC(9) FIFO Buffer KFIFO_FROM_USER_REC(9)NAMEkfifo_from_user_rec - puts some data from user space into the FIFOSYNOPSIS__must_check unsigned int kfifo_from_user_rec(struct kfifo * fifo, const void __user * from, unsigned int n, unsigned int recsize);ARGUMENTSfifo the fifo to be used. from pointer to the data to be added. n the length of the data to be added. recsize size of record fieldDESCRIPTIONThis function copies n bytes from the from into the FIFO and returns the number of bytes which cannot be copied. If the returned value is equal or less the n value, the copy_from_user functions has failed. Otherwise the record doesn't fit into the buffer. Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.COPYRIGHTKernel Hackers Manual 2.6. July 2010 KFIFO_FROM_USER_REC(9)
Related Man Pages |
---|
fifo(3tcl) - sunos |
fifo(3tcl) - opendarwin |
fifo(7) - osx |
fifo(3tcl) - php |
fifo(3tcl) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Migrating to UNIX |
Update kernel Linux without reboot?! |
SOCKS proxy & PAM configuration exposure |
A (ksh) Library For and From UNIX.com |