From 32b87c5979a0e70994e4db65415ec0a2349c5618 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Mar 2016 10:55:20 +0100 Subject: Add more man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zstr_length_positive.3 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 man/zstr_length_positive.3 (limited to 'man/zstr_length_positive.3') diff --git a/man/zstr_length_positive.3 b/man/zstr_length_positive.3 new file mode 100644 index 0000000..3696378 --- /dev/null +++ b/man/zstr_length_positive.3 @@ -0,0 +1,28 @@ +.TH ZSTR_LENGTH_POSITIVE 3 libzahl +.SH NAME +zstr_length_positive - Predict the length of a string +.SH SYNOPSIS +.nf +#include + +size_t zstr_length_positive(z_t \fIa\fP, unsigned long long int\fIradix\fP); +.fi +.SH DESCRIPTION +.B zstr_length_positive +calculates the number of digits required to +to represent +.I a +in the selected +.IR radix . +.P +.I a +must be a positive integer. If it is zero or negative, +undefined behaviour is invoked. +.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) -- cgit v1.2.3-70-g09d2