*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> tt_default_session (3)              


 tt_default_session(library call)           tt_default_session(library call)

 NAME    [Toc]    [Back]
      tt_default_session - retrieve the current default session identifier

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      char *tt_default_session(void)

 DESCRIPTION    [Toc]    [Back]
      The tt_default_session function retrieves the current default session

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_default_session function returns
      the pointer to the unique identifier for the current default session.
      If the pointer is NULL, no default session is set.  The application
      can use tt_ptr_error(3) to extract one of the following Tt_status
      values from the returned pointer:

      TT_OK     The operation completed successfully.

                The ttsession(1) process is not running and the ToolTalk
                service cannot restart it.

                The current default process identifier is out of date or

 APPLICATION USAGE    [Toc]    [Back]
      A session can have more than one session identifier.  This means that
      the application cannot compare the result of tt_default_session with
      the result of tt_message_session(3) to verify that the message was
      sent in the default session.

      The application should use tt_free(3) to free any data stored in the
      address returned by the ToolTalk API.

 SEE ALSO    [Toc]    [Back]
      Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
tt_thread_session HP-UX retrieve the default session identifier for the currently active thread
tt_default_session_set HP-UX set the current default session identifier
tt_thread_session_set HP-UX set the default session identifier for the current thread
tt_default_ptype HP-UX retrieve the current default ptype
tt_message_id HP-UX retrieve the identifier of a message
tt_message_gid HP-UX retrieve the group identifier attribute from a message
tt_message_uid HP-UX retrieve the user identifier attribute from a message
tt_initial_session HP-UX return the initial session identifier
SSL_get_default_timeout NetBSD get default session timeout value
SSL_get_default_timeout OpenBSD get default session timeout value
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service