Reference

libnvme_ns_read-libnvme3(2)

Read from a namespace

NAME

libnvme_ns_read - Read from a namespace

SYNOPSIS

int libnvme_ns_read (struct libnvme_ns *n , void *buf , off_t offset , size_t count );

ARGUMENTS

n

Namespace instance

buf

Buffer into which the data will be transferred

offset

LBA offset of n

count

Number of sectors in buf

RETURN

Number of sectors read or -1 on error.