KFIFO_GET(9) FIFO Buffer KFIFO_GET(9)NAMEkfifo_get - gets some data from the FIFO
SYNOPSIS
unsigned int kfifo_get(struct kfifo * fifo, unsigned char * buffer,
unsigned int len);
ARGUMENTS
fifo
the fifo to be used.
buffer
where the data must be copied.
len
the size of the destination buffer.
DESCRIPTION
This function copies at most len bytes from the FIFO into the buffer
and returns the number of copied bytes.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 KFIFO_GET(9)