Debian Codegraph @

doc/man/nvme_ns_read.2

raw
1 .TH "nvme_ns_read" 9 "nvme_ns_read" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_ns_read \- Read from a namespace
4 .SH SYNOPSIS
5 .B "int" nvme_ns_read
6 .BI "(nvme_ns_t n " ","
7 .BI "void *buf " ","
8 .BI "off_t offset " ","
9 .BI "size_t count " ");"
10 .SH ARGUMENTS
11 .IP "n" 12
12 Namespace instance
13 .IP "buf" 12
14 Buffer into which the data will be transferred
15 .IP "offset" 12
16 LBA offset of \fIn\fP
17 .IP "count" 12
18 Number of sectors in \fIbuf\fP
19 .SH "RETURN"
20 Number of sectors read or -1 on error.