.\" 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 "FLUSH_READ_BUFFER" "" "06 October 2005" "" ""
.SH NAME
flush_read_buffer \- push buffer to userspace.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int flush_read_buffer (struct sysfs_buffer * \fIbuffer\fB, char __user * \fIbuf\fB, size_t \fIcount\fB, loff_t * \fIppos\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbuffer\fB\fR
data buffer for file.
.TP
\fB\fIbuf\fB\fR
-- undescribed --
.TP
\fB\fIcount\fB\fR
number of bytes requested.
.TP
\fB\fIppos\fB\fR
file position.
.SH "DESCRIPTION"
.PP
Copy the buffer we filled in \fBfill_read_buffer\fR to userspace.
This is done at the reader's leisure, copying and advancing
the amount they specify each time.
This may be called continuously until the buffer is empty.