summaryrefslogtreecommitdiffstats
path: root/doc/man/nvmf_exat_len.2
blob: 0fe3f5a7b9752d5a1e3bac0d83d357dd25b958a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvmf_exat_len" 9 "nvmf_exat_len" "February 2024" "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