aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libcoopgamma_error_marshal.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-20 15:19:13 +0200
committerMattias Andrée <maandree@kth.se>2016-07-20 15:19:13 +0200
commit4cac86448608e30625b8a68338f2885e17acd5c7 (patch)
treeda69fe1b6d0c0f81867618ee54497bad59bbc70f /doc/man/libcoopgamma_error_marshal.3
parenttypo (diff)
downloadlibcoopgamma-4cac86448608e30625b8a68338f2885e17acd5c7.tar.gz
libcoopgamma-4cac86448608e30625b8a68338f2885e17acd5c7.tar.bz2
libcoopgamma-4cac86448608e30625b8a68338f2885e17acd5c7.tar.xz
Add libcoopgamma_*_marshal.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--doc/man/libcoopgamma_error_marshal.349
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/man/libcoopgamma_error_marshal.3 b/doc/man/libcoopgamma_error_marshal.3
new file mode 100644
index 0000000..5349de7
--- /dev/null
+++ b/doc/man/libcoopgamma_error_marshal.3
@@ -0,0 +1,49 @@
+.TH LIBCOOPGAMMA_ERROR_MARSHAL 3 LIBCOOPGAMMA
+.SH "NAME"
+libcoopgamma_error_marshal - Marshal a libcoopgamma_error_t
+.SH "SYNOPSIS"
+.nf
+#include <libcoopgamma.h>
+
+size_t libcoopgamma_error_marshal(libcoopgamma_error_t* restrict \fIthis\fP,
+ void* restrict \fIbuffer\fP);
+.fi
+.P
+Link with
+.IR -lcoopgamma .
+.SH "DESCRIPTION"
+The
+.BR libcoopgamma_error_marshal ()
+function marshals
+.I this
+into a
+.I buffer
+that can be sent to another process on any computer
+with a compatible processor. A compatible processor
+is any processor with the same endianness, encoding
+and sizes of the intrinsic data types and
+.IR size_t .
+.SH "RETURN VALUES"
+The
+.BR libcoopgamma_error_marshal ()
+returns the number of bytes stored in the
+.IR buffer ,
+or if
+.I buffer
+is
+.IR NULL ,
+the the number of bytes that would have
+been written if it was not
+.IR NULL .
+The function is always successful.
+.SH "SEE ALSO"
+.BR libcoopgamma_error_destroy (3),
+.BR libcoopgamma_error_unmarshal (3),
+.BR libcoopgamma_ramps_marshal (3),
+.BR libcoopgamma_filter_marshal (3),
+.BR libcoopgamma_crtc_info_marshal (3),
+.BR libcoopgamma_filter_query_marshal (3),
+.BR libcoopgamma_queried_filter_marshal (3),
+.BR libcoopgamma_filter_table_marshal (3),
+.BR libcoopgamma_context_marshal (3),
+.BR libcoopgamma_async_context_marshal (3)