]]>
]]>
ttdt_open
library call
ttdt_open
create a ToolTalk communication endpoint
#include <Tt/tttk.h>
char *ttdt_open
int *ttfd
const char *toolname
const char *vendor
const char *version
int sendStarted
DESCRIPTION
The
ttdt_open function calls
&cdeman.tt.open; and
&cdeman.tt.fd;. It associates
toolname, vendor and
version with the created
procid,
and initializes the new
procid's
default contexts from the process environment.
If
sendStarted is True,
ttdt_open sends a
Started notice.
RETURN VALUE
Upon successful completion, the
ttdt_open function
returns the created
procid
in a string that can be freed with
tt_free; otherwise, the
ttdt_open function may return any of the errors returned by
&cdeman.tt.open; and
&cdeman.tt.fd;.
No errors are propagated if sending the
Started notice fails.
SEE ALSO
&cdeman.Tt.tttk.h;, &cdeman.ttdt.close;, &cdeman.tt.open;, &cdeman.tt.fd;, &cdeman.tt.free;.