Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tt_pattern_register(3) [hpux man page]

tt_pattern_register(library call)										 tt_pattern_register(library call)

NAME
tt_pattern_register -- register a pattern with the ToolTalk service SYNOPSIS
#include <Tt/tt_c.h> Tt_status tt_pattern_register( Tt_pattern p); DESCRIPTION
The tt_pattern_register function registers a pattern with the ToolTalk service. When the process is registered, it will start receiving messages that match the specified pattern. Once a pattern is registered, no fur- ther changes can be made in the pattern. When the process joins a session or file, the ToolTalk service updates the file and session field of its registered patterns. The p argument is a unique handle for a message pattern. This handle is returned after tt_pattern_create(3) is called. RETURN VALUE
Upon successful completion, the tt_pattern_register 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 correct type for this operation. TT_ERR_PROCID The specified process identifier is out of date or invalid. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_pattern_unregister(3), tt_pattern_create(3). tt_pattern_register(library call)

Check Out this Related Man Page

tt_pattern_category_set(library call)									     tt_pattern_category_set(library call)

NAME
tt_pattern_category_set -- fill in the category field for a pattern SYNOPSIS
#include <Tt/tt_c.h> Tt_status tt_pattern_category_set( Tt_pattern p, Tt_category c); DESCRIPTION
The tt_pattern_category_set function fills in the category field for the specified pattern. The p argument is a unique handle for a message pattern. This handle is returned after tt_pattern_create(3) is called. The c argument indicates whether the receiving process will observe or handle messages. The following values are defined: TT_OBSERVE The receiving process will observe messages. TT_HANDLE The receiving process will handle messages. RETURN VALUE
Upon successful completion, the tt_pattern_category_set function returns the status of the operation as one of the following Tt_status val- ues: TT_OK The operation completed successfully. TT_ERR_CATEGORY The pattern object has no category set. 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. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_pattern_category(3), tt_pattern_create(3). tt_pattern_category_set(library call)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

searchin optimized

hi friens, :) if ther are files named .c++,.C++,.cpp,.Cpp,.CPp,.cPP,.CpP,.cpP,.c,.C wat is the pattern for finding them :confused: (1 Reply)
Discussion started by: arunsubbhian
1 Replies

2. UNIX for Dummies Questions & Answers

ToolTalk won't start

on my AIX 6.1 CDE's ToolTalk server won't start. It says: dtsession: Unable to exec /usr/dt/install/oldrules/dtrmrules.driver. A file or directory in the path name does not exist. How can I fix this? (0 Replies)
Discussion started by: rein
0 Replies

3. UNIX for Dummies Questions & Answers

Searching the date pattern in a file

Hi, I would like to search the pattern based on the date like "2010/08/15". I tried using / in the file giving /<<pattern>>. when i tried this it turns to /2010/+8, but not going to the pattern what ever i want. This is how the data in the file. INFO | jvm 1 | 2010/05/26 13:30:33... (5 Replies)
Discussion started by: venkatesht
5 Replies

4. Shell Programming and Scripting

Using cat to match pattern start with particular date.

Hi All, version :- SunOS rdrsu1 5.10 Generic_142900-12 sun4u sparc SUNW,SPARC-Enterprise I have a requirenemet, where I have to extrace eroror start with ORA-, which match a perticular date. In below text I only extract out error coming on wed-8 and start with text like "ORA-". hope you... (4 Replies)
Discussion started by: alok.behria
4 Replies