.\" 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 "NAND_WRITE_ECC" "9" "09 October 2005" "" ""
.SH NAME
nand_write_ecc \- [MTD Interface] NAND write with ECC
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int nand_write_ecc (struct mtd_info * \fImtd\fB, loff_t \fIto\fB, size_t \fIlen\fB, size_t * \fIretlen\fB, const u_char * \fIbuf\fB, u_char * \fIeccbuf\fB, struct nand_oobinfo * \fIoobsel\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fImtd\fB\fR
MTD device structure
.TP
\fB\fIto\fB\fR
offset to write to
.TP
\fB\fIlen\fB\fR
number of bytes to write
.TP
\fB\fIretlen\fB\fR
pointer to variable to store the number of written bytes
.TP
\fB\fIbuf\fB\fR
the data to write
.TP
\fB\fIeccbuf\fB\fR
filesystem supplied oob data buffer
.TP
\fB\fIoobsel\fB\fR
oob selection structure
.SH "DESCRIPTION"
.PP
NAND write with ECC