Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ttdt_session_quit (3)

Name

ttdt_session_quit - quit a ToolTalk session

Synopsis

#include <Tt/tttk.h>
Tt_status ttdt_session_quit(const char *sessid,
Tt_pattern *sess_pats,
int quit);

Description

ttdt_session_quit(3)          ToolTalk Functions          ttdt_session_quit(3)



NAME
       ttdt_session_quit - quit a ToolTalk session

SYNOPSIS
       #include <Tt/tttk.h>
       Tt_status ttdt_session_quit(const char *sessid,
                                   Tt_pattern *sess_pats,
                                   int quit);

DESCRIPTION
       The  ttdt_session_quit()  function  destroys the patterns in sess_pats.
       If quit is True, it quits the session sessid, or the default session if
       sessid is NULL.

RETURN VALUE
       Upon  successful  completion,  the ttdt_session_quit() 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
                  service cannot restart it.

          TT_ERR_POINTER
                  The  pointer  passed does not point to an object of the cor-
                  rect type for this operation.

          TT_ERR_PROCID
                  The specified process identifier is out of date or invalid.

          TT_ERR_SESSION
                  The specified ToolTalk session is out of date or invalid.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/tooltalk |
       +---------------+------------------+
       |Stability      | Committed        |
       +---------------+------------------+
SEE ALSO
       tttk(5), ttdt_session_join(3), tt_session_quit(3).




ToolTalk 1.3                     1 March 1996             ttdt_session_quit(3)