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 --- doc/get-started.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/get-started.tex') diff --git a/doc/get-started.tex b/doc/get-started.tex index 537b228..0b297ed 100644 --- a/doc/get-started.tex +++ b/doc/get-started.tex @@ -147,6 +147,9 @@ error code, you instead look at the return value. case ZERROR_NEGATIVE: fprintf(stderr, "Undefined (negative input)\verb|\|n"); \textcolor{c}{return 1;} + case ZERROR_INVALID_RADIX: + fprintf(stderr, "Radix must be at least 2\verb|\|n"); + \textcolor{c}{return 1;} default: zperror(""); \textcolor{c}{return 1;} @@ -228,7 +231,7 @@ for reuse. If you plan to reuse the variable later, you need to reinitialise it by calling {\tt zinit} again. -Alternatives to {\tt zseti} include: +Alternatives to {\tt zseti} include \psecref{sec:Assignment}: \begin{alltt} void zsetu(z_t a, uint64_t value); -- cgit v1.2.3-70-g09d2