tt_xcontext_join(library call) tt_xcontext_join(library call)
NAMEtt_xcontext_join — add an XDR-interpreted byte-array to the list of
values
SYNOPSIS
#include <Tt/tt_c.h>
Tt_status tt_xcontext_join(
const char *slotname,
xdrproc_t xdr_proc,
void *value);
DESCRIPTION
The tt_xcontext_join function adds the given XDR-interpreted byte-array
value to the list of values for the named contexts of all patterns.
The slotname argument describes the slotname in this message. The
xdr_proc argument points to the XDR procedure to be used to serialize
the data pointed to by value. The value argument is the data to be
serialized.
RETURN VALUE
Upon successful completion, the tt_xcontext_join function returns the
status of the operation as one of the following Tt_status values:
TT_OK The operation completed successfully.
TT_ERR_NOMP
The ttsession(1) process is not running and the ToolTalk ser‐
vice cannot restart it.
TT_ERR_SLOTNAME
The specified slotname is syntactically invalid.
TT_ERR_XDR
The XDR procedure failed on the given data, or evaluated to a
zero-length expression.
SEE ALSO
Tt/tt_c.h - Tttt_c(5)
tt_xcontext_join(library call)