suse man page for kfifo_in_rec

Query: kfifo_in_rec

OS: suse

Section: 9

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

KFIFO_IN_REC(9) 						    FIFO Buffer 						   KFIFO_IN_REC(9)

NAME
kfifo_in_rec - puts some record data into the FIFO
SYNOPSIS
__must_check unsigned int kfifo_in_rec(struct kfifo * fifo, void * from, unsigned int n, unsigned int recsize);
ARGUMENTS
fifo the fifo to be used. from the data to be added. n the length of the data to be added. recsize size of record field
DESCRIPTION
This function copies n bytes from the from into the FIFO and returns the number of bytes which cannot be copied. A returned value greater than the n value means that 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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KFIFO_IN_REC(9)
Related Man Pages
fifo(3tcl) - sunos
fifo(3tcl) - opendarwin
fifo(3tcl) - v7
fifo(3tcl) - plan9
fifo(7) - mojave
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
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