Scroll to navigation

libnvme_ns_read(2) libnvme API manual libnvme_ns_read(2)

NAME

libnvme_ns_read - Read from a namespace

SYNOPSIS

int libnvme_ns_read (struct libnvme_ns *n , void *buf , off_t offset , size_t count );

ARGUMENTS

Namespace instance
Buffer into which the data will be transferred
LBA offset of n
Number of sectors in buf

RETURN

Number of sectors read or -1 on error.

libnvme_ns_read September 2026