diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
| commit | a36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch) | |
| tree | 02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /man | |
| parent | zdivmod: minor correction (diff) | |
| download | libzahl-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')
| -rw-r--r-- | man/zerror.3 | 9 | ||||
| -rw-r--r-- | man/zload.3 | 4 | ||||
| -rw-r--r-- | man/zstr_length.3 | 2 |
3 files changed, 10 insertions, 5 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. 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 |
