aboutsummaryrefslogtreecommitdiffstats
path: root/doc/get-started.tex
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 /doc/get-started.tex
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 'doc/get-started.tex')
-rw-r--r--doc/get-started.tex5
1 files changed, 4 insertions, 1 deletions
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);