From a36227cae9c9983faad42f98c3aa79c7a0d863a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 11 May 2016 16:10:53 +0200 Subject: Work on the manual and zstr_length checks that the radix is valid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zerror.3 | 9 +++++++++ man/zload.3 | 4 ---- man/zstr_length.3 | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'man') 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. diff --git a/man/zload.3 b/man/zload.3 index 86d4213..d4f0173 100644 --- a/man/zload.3 +++ b/man/zload.3 @@ -24,10 +24,6 @@ must have been initialized with .SH RETURN VALUE The number of bytes read from .IR buf . -On failure, 0 is returned. -.SH ERRORS -This function may failure for any reason specified for -.BR realloc (3). .SH SEE ALSO .BR zinit (3), .BR zsave (3), diff --git a/man/zstr_length.3 b/man/zstr_length.3 index 3101756..7d2dd7a 100644 --- a/man/zstr_length.3 +++ b/man/zstr_length.3 @@ -17,7 +17,7 @@ in the selected .SH RETURN VALUE The number of digits requires to represent .I a -i the selected +in the selected .I radix is returned. .SH SEE ALSO -- cgit v1.2.3-70-g09d2