1 <!-- $XConsortium: print.sgm /main/5 1996/08/30 14:17:35 rws $ -->
2 <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
3 <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
4 <!-- (c) Copyright 1995 International Business Machines Corp. -->
5 <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
6 <!-- (c) Copyright 1995 Novell, Inc. -->
7 <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
8 <!-- (c) Copyright 1995 Hitachi. -->
10 <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN202.rsml.1">]]>
11 <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN202.rsml.1">]]>
13 <RefEntryTitle>tt_pattern_print</RefEntryTitle>
14 <ManVolNum>library call</ManVolNum>
17 <RefName><Function>tt_pattern_print</Function></RefName>
18 <RefPurpose>format a pattern
21 <!-- $XConsortium: print.sgm /main/5 1996/08/30 14:17:35 rws $-->
22 <!-- CDE Common Source Format, Version 1.0.0-->
23 <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
24 <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
25 <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
26 <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
28 <FuncSynopsis Remap="ANSI">
29 <FuncSynopsisInfo>#include <Tt/tt_c.h>
31 <FuncDef>char <Function>*tt_pattern_print</Function></FuncDef>
32 <ParamDef>Tt_pattern *<Parameter>p</Parameter></ParamDef>
36 <Title>DESCRIPTION</Title>
38 <Function>tt_pattern_print</Function> function formats a pattern in the same way a message
40 &cdeman.ttsession; trace and returns a string containing it.
43 <Emphasis>p</Emphasis> argument is the pattern to be formatted.
47 <Title>RETURN VALUE</Title>
48 <Para>Upon successful completion, the
49 <Function>tt_pattern_print</Function> function returns the formatted string.
50 The application can use
51 &cdeman.tt.ptr.error; to extract one of the following
52 <StructName Role="typedef">Tt_status</StructName> values from the returned pointer:
58 <Para>The operation completed successfully.
63 <Term>TT_ERR_NOMEM</Term>
65 <Para>There is insufficient memory available to perform the function.
70 <Term>TT_ERR_POINTER</Term>
72 <Para>The pointer passed does not point to an object of
73 the correct type for this operation.
80 <Title>APPLICATION USAGE</Title>
82 <Function>tt_pattern_print</Function> function allows an application writer to dump out patterns
87 <Title>SEE ALSO</Title>
88 <Para>&cdeman.Tt.tt.c.h;, &cdeman.tt.ptr.error;.</Para>
91 <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->