.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__KFIFO_GET" "9" "09 October 2005" "" ""
.SH NAME
__kfifo_get \- gets some data from the FIFO, no locking version
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
unsigned int __kfifo_get (struct kfifo * \fIfifo\fB, unsigned char * \fIbuffer\fB, unsigned int \fIlen\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfifo\fB\fR
the fifo to be used.
.TP
\fB\fIbuffer\fB\fR
where the data must be copied.
.TP
\fB\fIlen\fB\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.