Query: kfifo_to_user_rec
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KFIFO_TO_USER_REC(9) FIFO Buffer KFIFO_TO_USER_REC(9)NAMEkfifo_to_user_rec - gets data from the FIFO and write it to user spaceSYNOPSIS__must_check unsigned int kfifo_to_user_rec(struct kfifo * fifo, void __user * to, unsigned int n, unsigned int recsize, unsigned int * total);ARGUMENTSfifo the fifo to be used. to where the data must be copied. n the size of the destination buffer. recsize size of record field total pointer where the total number of to copied bytes should storedDESCRIPTIONThis function copies at most n bytes from the FIFO to the to. In case of an error, the function returns the number of bytes which cannot be copied. If the returned value is equal or less the n value, the copy_to_user functions has failed. Otherwise the record doesn't fit into the to 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_TO_USER_REC(9)
Related Man Pages |
---|
fifo(n) - mojave |
struct_usb_request(9) - suse |
fifo(3tcl) - opendarwin |
fifo(3tcl) - x11r4 |
fifo(3tcl) - php |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Change directory error |
Migrating to UNIX |
Update kernel Linux without reboot?! |
Docker learning Phase-I |