tt_procid_session(library call) tt_procid_session(library call)
NAME [Toc] [Back]
tt_procid_session - identify the session in which a procid was opened
SYNOPSIS [Toc] [Back]
#include <Tt/tt_c.h>
const char *tt_procid_session(
const char *procid);
DESCRIPTION [Toc] [Back]
The tt_procid_session function returns the identifier of the session
in which the specified procid was opened.
The return value points to the sessid for the session associated with
the procid. When the sessid value is no longer needed, it must be
freed with tt_free.
ARGUMENTS [Toc] [Back]
procid The identifier for the procid for which the session
identifier is to be returned.
RETURN VALUE [Toc] [Back]
Upon successful completion, the tt_procid_session function returns the
pointer to the session identifier.
TT_OK The operation completed successfully.
TT_ERR_NOMP [Toc] [Back]
The ttsession process is not running and the ToolTalk
service cannot restart it.
TT_ERR_PROCID [Toc] [Back]
The specified process identifier is out of date or invalid.
APPLICATION USAGE [Toc] [Back]
None.
SEE ALSO [Toc] [Back]
Tt/tt_c.h - Tttt_c(5), tt_free(3), tt_error_pointer(3)
- 1 - Formatted: January 24, 2005 [ Back ] |