zstr_length.3 - libzahl - big integer library | |
git clone git://git.suckless.org/libzahl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
zstr_length.3 (454B) | |
--- | |
1 .TH ZSTR_LENGTH 3 libzahl | |
2 .SH NAME | |
3 zstr_length - Predict the length of a string | |
4 .SH SYNOPSIS | |
5 .nf | |
6 #include <zahl.h> | |
7 | |
8 size_t zstr_length(z_t \fIa\fP, unsigned long long int \fIradix\fP); | |
9 .fi | |
10 .SH DESCRIPTION | |
11 .B zstr_length | |
12 calculates the number of digits required to | |
13 to represent | |
14 .I a | |
15 in the selected | |
16 .IR radix . | |
17 .SH RETURN VALUE | |
18 The number of digits requires to represent | |
19 .I a | |
20 in the selected | |
21 .I radix | |
22 is returned. | |
23 .SH SEE ALSO | |
24 .BR zstr (3), | |
25 .BR zbits (3) |