summaryrefslogtreecommitdiffstats
path: root/doc/man/nvmf_exat_len.2
blob: 02dae1bbc67c09303a2ce4b18dd8f00b65e07a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvmf_exat_len" 9 "nvmf_exat_len" "July 2022" "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 lenght
.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"
Lenght rounded up by 4