nvme_ns_read - Man Page

Read from a namespace

Synopsis

int nvme_ns_read (nvme_ns_t 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.

Info

August 2022 libnvme API manual