Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP ToolTalk Programmer's Guide > Chapter 6 Participating in ToolTalk Sessions

Registering with the ToolTalk Service

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

Before you can participate in ToolTalk sessions, you must register your process with the ToolTalk service. You can either register in the ToolTalk session in which the application was started (the initial session), or locate another session and register there.

The ToolTalk functions you need to register with the ToolTalk service are shown in Table 6-1

Table 6-1 Registering with the ToolTalk Service

Return TypeToolTalk FunctionDescription
char *tt_open(void)Process identifier
intt_fd(void)File descriptor
char *tt_X_session(const char *xdisplay)Return the session identifier of the specified X display server
Tt_statustt_default_session_set
(const char *sessid)
Sets the session to which tt_open will connect.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.