libnvme_ns_read-libnvme32
Read from a namespace
Usage
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.