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

  man pages->HP-UX 11i man pages -> tt_message_id (3)              
Title
Content
Arch
Section
 

Contents


 tt_message_id(library call)                     tt_message_id(library call)




 NAME    [Toc]    [Back]
      tt_message_id - retrieve the identifier of a message

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      char *tt_message_id(
      Tt_message m);

 DESCRIPTION    [Toc]    [Back]
      The tt_message_id function retrieves the identifier of the specified
      message.

      The m argument is the opaque handle for the message involved in this
      operation.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_message_id function returns the
      character string value that uniquely identifies the message across all
      running ToolTalk sessions.  The identifier of the message is set at
      its creation and never changes.  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.

      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
                correct type for this operation.

 APPLICATION USAGE    [Toc]    [Back]
      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_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_default_session HP-UX retrieve the current default session identifier
tt_thread_session HP-UX retrieve the default session identifier for the currently active thread
msgget Linux get a message queue identifier
msgget NetBSD get message queue identifier
ipcrm HP-UX remove a message queue, semaphore set, or shared memory identifier
catgets Tru64 Retrieve a message from a catalog
catgets FreeBSD retrieve string from message catalog
tt_message_disposition HP-UX retrieve the disposition attribute from a message
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service