diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-02 09:11:48 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-02 09:12:31 +0100 |
| commit | ea2d6c93d28a9c5af94035057c52c36f0618ba2c (patch) | |
| tree | 73cc4b6cbb66e623ae6f5ee933c489bae97a01d8 /man/zstr_length_positive.3 | |
| parent | Why zbits returns 1 for 0 (diff) | |
| download | libzahl-ea2d6c93d28a9c5af94035057c52c36f0618ba2c.tar.gz libzahl-ea2d6c93d28a9c5af94035057c52c36f0618ba2c.tar.bz2 libzahl-ea2d6c93d28a9c5af94035057c52c36f0618ba2c.tar.xz | |
zstr_length_positive is safe for non-positive, hence rename to zstr_length; and add zstr_length
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, 0 insertions, 28 deletions
diff --git a/man/zstr_length_positive.3 b/man/zstr_length_positive.3 deleted file mode 100644 index 3696378..0000000 --- a/man/zstr_length_positive.3 +++ /dev/null @@ -1,28 +0,0 @@ -.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) |
