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