aboutsummaryrefslogtreecommitdiffstats
path: root/man/zstr_length.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/zstr_length.3')
-rw-r--r--man/zstr_length.324
1 files changed, 24 insertions, 0 deletions
diff --git a/man/zstr_length.3 b/man/zstr_length.3
new file mode 100644
index 0000000..cd1014a
--- /dev/null
+++ b/man/zstr_length.3
@@ -0,0 +1,24 @@
+.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)