aboutsummaryrefslogtreecommitdiffstats
path: root/man/zswap.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-02-29 15:34:38 +0100
committerMattias Andrée <maandree@kth.se>2016-02-29 15:34:38 +0100
commita1a1d9ed137c8e404e7f0bd41804099ef18b9267 (patch)
tree171def711738fa9989a9b040bb264e2cecbda867 /man/zswap.3
parentreadme: libzahl is not thread-safe at the moment (diff)
downloadlibzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.gz
libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.bz2
libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.xz
Add a number of man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zswap.3')
-rw-r--r--man/zswap.322
1 files changed, 22 insertions, 0 deletions
diff --git a/man/zswap.3 b/man/zswap.3
new file mode 100644
index 0000000..37df77a
--- /dev/null
+++ b/man/zswap.3
@@ -0,0 +1,22 @@
+.TH ZSWAP 3 libzahl
+.SH NAME
+zswap - Exchanges the value of two big integers
+.SH SYNOPSIS
+.nf
+#include <zahl.h>
+
+void zswap(z_t \fIa\fP, z_t \fIb\fP);
+.fi
+.SH DESCRIPTION
+.B zswap
+exchanges all information stored in
+.I a
+with the information stored in
+.IR b .
+.P
+It is safe to call
+.B zswap
+with
+.IR "(a==b)" .
+.SH SEE ALSO
+.BR zset (3)