aboutsummaryrefslogtreecommitdiffstats
path: root/man/zerror.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
committerMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
commita36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch)
tree02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /man/zerror.3
parentzdivmod: minor correction (diff)
downloadlibzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.gz
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.bz2
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.xz
Work on the manual and zstr_length checks that the radix is valid
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zerror.3')
-rw-r--r--man/zerror.39
1 files changed, 9 insertions, 0 deletions
diff --git a/man/zerror.3 b/man/zerror.3
index 8bc0e53..022983d 100644
--- a/man/zerror.3
+++ b/man/zerror.3
@@ -72,6 +72,15 @@ values is
.B EDOM
and
.BR EINVAL .
+.TP
+.B ZERROR_INVALID_RADIX
+A radix less than 2 was selected, which is invalid because,
+radix 0 is impossible as there would be no digits, and radix
+1 is impossible because only the value 0 can be represented
+in radix 1. The closest matching
+.I errno
+values is
+.BR EINVAL .
.SH RETURN VALUE
.B zerror
returns the error that caused libzahl a function to fail.