Rechercher une page de manuel
__kfifo_get
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
__kfifo_get - gets some data from the FIFO, no locking versionSYNOPSIS
- 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.
Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre