95 lines
3.0 KiB
Plaintext
95 lines
3.0 KiB
Plaintext
<!-- $XConsortium: bco_join.sgm /main/5 1996/08/30 12:43:03 rws $ -->
|
|
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
|
|
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
|
|
<!-- (c) Copyright 1995 International Business Machines Corp. -->
|
|
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
|
|
<!-- (c) Copyright 1995 Novell, Inc. -->
|
|
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
|
|
<!-- (c) Copyright 1995 Hitachi. -->
|
|
|
|
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN54.rsml.1">]]>
|
|
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN54.rsml.1">]]>
|
|
<RefMeta>
|
|
<RefEntryTitle>tt_bcontext_join</RefEntryTitle>
|
|
<ManVolNum>library call</ManVolNum>
|
|
</RefMeta>
|
|
<RefNameDiv>
|
|
<RefName><Function>tt_bcontext_join</Function></RefName>
|
|
<RefPurpose>add a byte-array value to the list of values
|
|
</RefPurpose>
|
|
</RefNameDiv>
|
|
<!-- $XConsortium: bco_join.sgm /main/5 1996/08/30 12:43:03 rws $-->
|
|
<!-- CDE Common Source Format, Version 1.0.0-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
|
|
<RefSynopsisDiv>
|
|
<FuncSynopsis Remap="ANSI">
|
|
<FuncSynopsisInfo>#include <Tt/tt_c.h>
|
|
</FuncSynopsisInfo>
|
|
<FuncDef>Tt_status <Function>tt_bcontext_join</Function></FuncDef>
|
|
<ParamDef>const char *<Parameter>slotname</Parameter></ParamDef>
|
|
<ParamDef>const unsigned char *<Parameter>value</Parameter></ParamDef>
|
|
<ParamDef>int <Parameter>length</Parameter></ParamDef>
|
|
</FuncSynopsis>
|
|
</RefSynopsisDiv>
|
|
<RefSect1>
|
|
<Title>DESCRIPTION</Title>
|
|
<Para>The
|
|
<Function>tt_bcontext_join</Function> function
|
|
adds the given byte-array value to the list of values for the named contexts
|
|
of all patterns.
|
|
The context is compared to currently registered patterns for the
|
|
procid.
|
|
If a
|
|
pattern has a slot with the specified name,
|
|
the given byte-array value is added
|
|
to the list of values for that slot.
|
|
</Para>
|
|
<Para>The
|
|
<Emphasis>slotname</Emphasis> argument is the name of the context.
|
|
The
|
|
<Symbol Role="Variable">value</Symbol> argument is the value to be added.
|
|
The
|
|
<Symbol Role="Variable">length</Symbol> argument is the length in bytes of the value.
|
|
</Para>
|
|
</RefSect1>
|
|
<RefSect1>
|
|
<Title>RETURN VALUE</Title>
|
|
<Para>Upon successful completion, the
|
|
<Function>tt_bcontext_join</Function> function returns the status of the operation as one of the following
|
|
<StructName Role="typedef">Tt_status</StructName> values:
|
|
</Para>
|
|
<VariableList>
|
|
<VarListEntry>
|
|
<Term>TT_OK</Term>
|
|
<ListItem>
|
|
<Para>The operation completed successfully.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
<VarListEntry>
|
|
<Term>TT_ERR_NOMP</Term>
|
|
<ListItem>
|
|
<Para>The
|
|
&cdeman.ttsession; process is not running and the ToolTalk service cannot restart it.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
<VarListEntry>
|
|
<Term>TT_ERR_SLOTNAME</Term>
|
|
<ListItem>
|
|
<Para>The specified slotname is syntactically invalid.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
</VariableList>
|
|
</RefSect1>
|
|
<RefSect1>
|
|
<Title>SEE ALSO</Title>
|
|
<Para>&cdeman.Tt.tt.c.h;.</Para>
|
|
</RefSect1>
|
|
</RefEntry>
|
|
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|