summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ns_write_zeros.2
blob: 21fa7ecdb752ead4c48c26377de9000955eef18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.TH "nvme_ns_write_zeros" 9 "nvme_ns_write_zeros" "February 2024" "libnvme API manual" LINUX
.SH NAME
nvme_ns_write_zeros \- Write zeros to a namespace
.SH SYNOPSIS
.B "int" nvme_ns_write_zeros
.BI "(nvme_ns_t n "  ","
.BI "off_t offset "  ","
.BI "size_t count "  ");"
.SH ARGUMENTS
.IP "n" 12
Namespace instance
.IP "offset" 12
LBA offset in \fIn\fP
.IP "count" 12
Number of sectors to be written
.SH "RETURN"
Number of sectors written