123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <!-- $XConsortium: bpro_set.sgm /main/5 1996/08/30 15:20:10 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.MAN237.rsml.1">]]>
- <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN237.rsml.1">]]>
- <RefMeta>
- <RefEntryTitle>tt_spec_bprop_set</RefEntryTitle>
- <ManVolNum>library call</ManVolNum>
- </RefMeta>
- <RefNameDiv>
- <RefName><Function>tt_spec_bprop_set</Function></RefName>
- <RefPurpose>replace any current values stored under this spec property with a new byte-string
- </RefPurpose>
- </RefNameDiv>
- <!-- $XConsortium: bpro_set.sgm /main/5 1996/08/30 15:20:10 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_spec_bprop_set</Function></FuncDef>
- <ParamDef>const char *<Parameter>objid</Parameter></ParamDef>
- <ParamDef>const char *<Parameter>propname</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_spec_bprop_set</Function> function
- replaces any current values stored under this spec property with a new
- byte-string.
- </Para>
- <Para>The
- <Emphasis>objid</Emphasis> argument is the identifier of the object involved in this operation.
- The
- <Emphasis>propname</Emphasis> argument is the name of the property which stores the values.
- The
- <Symbol Role="Variable">value</Symbol> argument is the byte-string to be added to the property value list.
- If the value is
- <SystemItem Class="Constant">NULL</SystemItem>, the property is removed entirely.
- The
- <Symbol Role="Variable">length</Symbol> argument is the length of the value in bytes.
- </Para>
- </RefSect1>
- <RefSect1>
- <Title>RETURN VALUE</Title>
- <Para>Upon successful completion, the
- <Function>tt_spec_bprop_set</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_OBJID</Term>
- <ListItem>
- <Para>The
- <Emphasis>objid</Emphasis> passed to the ToolTalk service does not reference an existing object spec.
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_ERR_PROPLEN</Term>
- <ListItem>
- <Para>The specified property value is too long.
- (The maximum size is implementation specific, but is at least 64.)
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_ERR_PROPNAME</Term>
- <ListItem>
- <Para>The specified property name 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-->
|