tt_message_receive man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

tt_message_receive(library call)	      tt_message_receive(library call)

NAME
       tt_message_receive — receive a message

SYNOPSIS
       #include <Tt/tt_c.h>
       Tt_message tt_message_receive(void)

DESCRIPTION
       The  tt_message_receive	function returns a handle for the next message
       queued to be delivered to the process and also runs any message or pat‐
       tern callbacks applicable to the queued message.

       If  the	return	value  of  tt_message_status(3)	 for  this  message is
       TT_WRN_START_MESSAGE, the  ToolTalk  service  started  the  process  to
       deliver the queued message; the process must reply to this message.  If
       the return value of tt_message_receive is zero, no  message  is	avail‐
       able.

RETURN VALUE
       Upon successful completion, the tt_message_receive function returns the
       handle for the message object.  The application can use tt_ptr_error(3)
       to extract one of the following Tt_status values from the returned han‐
       dle:

       TT_OK	 The operation completed successfully.

       TT_ERR_NOMP
		 The ttsession(1) process is not running and the ToolTalk ser‐
		 vice cannot restart it.

APPLICATION USAGE
       A  zero	value can occur if a message or pattern callback processes the
       message.	 It can also occur if the interval is  too  long  between  the
       time  the file descriptor became active and the tt_message_receive call
       was made.  In the latter case, the ToolTalk service will time  out  and
       offer the message to another process.

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

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

					      tt_message_receive(library call)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net