nvme_ns_write(2) libnvme API manual nvme_ns_write(2)

nvme_ns_write - Write to a namespace

int nvme_ns_write (nvme_ns_t n , void *buf , off_t offset , size_t count );

Namespace instance
Buffer with data to be written
LBA offset of n
Number of sectors in buf

Number of sectors written or -1 on error

nvme_ns_write March 2024