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 --- zahl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zahl.h') diff --git a/zahl.h b/zahl.h index 0ca0565..b224338 100644 --- a/zahl.h +++ b/zahl.h @@ -50,7 +50,8 @@ enum zerror { ZERROR_0_POW_0, /* Indeterminate form: 0:th power of 0. (Translatable to EDOM.) */ ZERROR_0_DIV_0, /* Indeterminate form: 0 divided by 0. (Translatable to EDOM.) */ ZERROR_DIV_0, /* Undefined result: Division by 0. (Translatable to EDOM.) */ - ZERROR_NEGATIVE /* Argument must be non-negative. (Translatable to EDOM or EINVAL.) */ + ZERROR_NEGATIVE, /* Argument must be non-negative. (Translatable to EDOM or EINVAL.) */ + ZERROR_INVALID_RADIX /* Radix must be at least 2. (Translatable to EINVAL.) */ }; -- cgit v1.2.3-70-g09d2