nvme_ns_write - Man Page

Write to a namespace

Synopsis

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

Arguments

n

Namespace instance

buf

Buffer with data to be written

offset

LBA offset of n

count

Number of sectors in buf

Return

Number of sectors written or -1 on error

Info

February 2024 libnvme API manual