aboutsummaryrefslogtreecommitdiffstats
path: root/man/zstr_length.3
blob: 01f2048811d89c8aa500f661257a33a9ce536d15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH ZSTR_LENGTH 3 libzahl
.SH NAME
zstr_length - Predict the length of a string
.SH SYNOPSIS
.nf
#include <zahl.h>

size_t zstr_length(z_t \fIa\fP, unsigned long long int\fIradix\fP);
.fi
.SH DESCRIPTION
.B zstr_length
calculates the number of digits required to
to represent the absolute value of
.I a
in the selected
.IR radix .
.SH RETURN VALUE
The number of digits requires to represent
.I a
i the selected
.I radix
is returned.
.SH SEE ALSO
.BR zstr (3),
.BR zbits (3)