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

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

Contents


 tt_message_print(library call)               tt_message_print(library call)




 NAME    [Toc]    [Back]
      tt_message_print - format a message

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

 DESCRIPTION    [Toc]    [Back]
      The tt_message_print function formats a message in the same way a
      message is formatted for the ttsession(1) trace and returns a string
      containing it.

      The m argument is the message to be formatted.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_message_print function returns the
      formatted string.  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_NOMEM
                There is insufficient memory available to perform the
                function.

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

 APPLICATION USAGE    [Toc]    [Back]
      The tt_message_print function allows an application to dump out
      messages that are received but not understood.

      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_free(3), tt_ptr_error(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
mh-mail Tru64 Message format for the MH message system
fmtmsg NetBSD format and display a message
fmtmsg Tru64 Display a message in the specified format
mh-format Tru64 Format file for the MH message system
pfmt IRIX display error message in standard format
pfmt IRIX display error message in standard format
lfmt IRIX display error message in standard format and pass to logging and monitoring services
lfmt IRIX display error message in standard format and pass to logging and monitoring services
gss_wrap HP-UX attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_unwrap HP-UX verify a message with attached message integrity code (MIC) and decrypt message content if necessary
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service