.\" 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_BLOCK_BAD" "9" "09 October 2005" "" ""
.SH NAME
nand_block_bad \- [DEFAULT] Read bad block marker from the chip
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int nand_block_bad (struct mtd_info * \fImtd\fB, loff_t \fIofs\fB, int \fIgetchip\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fImtd\fB\fR
MTD device structure
.TP
\fB\fIofs\fB\fR
offset from device start
.TP
\fB\fIgetchip\fB\fR
0, if the chip is already selected
.SH "DESCRIPTION"
.PP
Check, if the block is bad.