.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "__KFIFO_GET" 9 "August 2005" "Kernel Hackers Manual" "LINUX" .SH NAME __kfifo_get \- gets some data from the FIFO, no locking version .SH "SYNOPSIS" .ad l .hy 0 .HP 29 unsigned\ int\ \fB__kfifo_get\ \fR\ (struct\ kfifo\ *\ \fIfifo\fR, unsigned\ char\ *\ \fIbuffer\fR, unsigned\ int\ \fIlen\fR); .ad .hy .SH "ARGUMENTS" .TP \fIfifo\fR the fifo to be used\&. .TP \fIbuffer\fR where the data must be copied\&. .TP \fIlen\fR the size of the destination buffer\&. .SH "DESCRIPTION" .PP This function copies at most 'len' bytes from the FIFO into the 'buffer' and returns the number of copied bytes\&. .PP Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions\&.