1KFIFO_GET(9) FIFO Buffer KFIFO_GET(9)
23
4
NAME
6kfifo_get - gets some data from the FIFO
7
SYNOPSIS
9unsigned int kfifo_get(struct kfifo * fifo, unsigned char * buffer,
10unsigned int len);
11
ARGUMENTS
13fifo
14the fifo to be used.
1516
buffer
17where the data must be copied.
1819
len
20the size of the destination buffer.
21
DESCRIPTION
23This function copies at most len bytes from the FIFO into the buffer
24and returns the number of copied bytes.
25
COPYRIGHT
27Kernel Hackers Manual 2.6. June 2019 KFIFO_GET(9)