summaryrefslogtreecommitdiffstats
path: root/doc/man/nvmf_exat_len.2
blob: 3ab5f4a0e7025bada8dc8b5274aa3f1c4dcbca01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvmf_exat_len" 9 "nvmf_exat_len" "June 2023" "libnvme API manual" LINUX
.SH NAME
nvmf_exat_len \- Return length rounded up by 4
.SH SYNOPSIS
.B "__u16" nvmf_exat_len
.BI "(size_t val_len "  ");"
.SH ARGUMENTS
.IP "val_len" 12
Value length
.SH "DESCRIPTION"
Return the size in bytes, rounded to a multiple of 4 (e.g., size of
__u32), of the buffer needed to hold the exat value of size
\fIval_len\fP.
.SH "RETURN"
Length rounded up by 4