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