nvme_ns_read2
Read from a namespace
Usage
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.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.