---
name: "nand_read"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/nand_read"
---

# nand\_read(9)

\[MTD Interface\] MTD compatibility function for nand\_do\_read\_ecc

## NAME

nand\_read - \[MTD Interface\] MTD compatibility function for nand\_do\_read\_ecc

## SYNOPSIS

**int nand\_read(struct mtd\_info \*** *mtd***, loff\_t** *from***, size\_t** *len***, size\_t \*** *retlen***, uint8\_t \*** *buf***);**

## ARGUMENTS

*mtd*

MTD device structure

*from*

offset to read from

*len*

number of bytes to read

*retlen*

pointer to variable to store the number of read bytes

*buf*

the databuffer to put data

## DESCRIPTION

Get hold of the chip and call nand\_do\_read.

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
