summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ns_write_zeros.2
blob: ee2c2d117fd97dc0fa7763a5aff338d48f8f94c1 (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" "April 2022" "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