blob: d4f01734e17f68a8b8f48b5e736b2502275c1250 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
.TH ZLOAD 3 libzahl
.SH NAME
zload - Unmarshal a big integer from a buffer
.SH SYNOPSIS
.nf
#include <zahl.h>
size_t zload(z_t \fIa\fP, const void *\fIbuf\fP);
.fi
.SH DESCRIPTION
.B zload
unmarshals a big integer from
.I buf
into
.IR a .
The big integer should have be saved using
.BR zsave (3),
with the same version of libzahl
and on the processor architecture.
.P
.I a
must have been initialized with
.BR zinit (3).
.SH RETURN VALUE
The number of bytes read from
.IR buf .
.SH SEE ALSO
.BR zinit (3),
.BR zsave (3),
.BR zsets (3)
|