diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-01 10:55:20 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-01 10:55:20 +0100 |
| commit | 32b87c5979a0e70994e4db65415ec0a2349c5618 (patch) | |
| tree | a366f6c46762f349ce8b96439a35ac944021055b /man/zstr_length_positive.3 | |
| parent | Add a number of man pages (diff) | |
| download | libzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.gz libzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.bz2 libzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.xz | |
Add more man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zstr_length_positive.3')
| -rw-r--r-- | man/zstr_length_positive.3 | 28 |
1 files changed, 28 insertions, 0 deletions
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 <zahl.h> + +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) |
