aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libcoopgamma_async_context_marshal.3
blob: e7197b8ce10b308c9fc46a738e3676908b60e2ce (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.TH LIBCOOPGAMMA_ASYNC_CONTEXT_MARSHAL 3 LIBCOOPGAMMA
.SH "NAME"
libcoopgamma_async_context_marshal - Marshal a libcoopgamma_async_context_t
.SH "SYNOPSIS"
.nf
#include <libcoopgamma.h>

size_t libcoopgamma_async_context_marshal(libcoopgamma_async_context_t *restrict \fIthis\fP,
                                          void *restrict \fIbuffer\fP);
.fi
.P
Link with
.IR -lcoopgamma .
.SH "DESCRIPTION"
The
.BR libcoopgamma_async_context_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_async_context_marshal ()
function 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_async_context_destroy (3),
.BR libcoopgamma_async_context_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_error_marshal (3),
.BR libcoopgamma_context_marshal (3)