Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
116
cde/doc/C/guides/man/m3_tt_spec/write.sgm
Normal file
116
cde/doc/C/guides/man/m3_tt_spec/write.sgm
Normal file
@@ -0,0 +1,116 @@
|
||||
<!-- $XConsortium: write.sgm /main/5 1996/08/30 15:26:05 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.MAN250.rsml.1">]]>
|
||||
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN250.rsml.1">]]>
|
||||
<RefMeta>
|
||||
<RefEntryTitle>tt_spec_write</RefEntryTitle>
|
||||
<ManVolNum>library call</ManVolNum>
|
||||
</RefMeta>
|
||||
<RefNameDiv>
|
||||
<RefName><Function>tt_spec_write</Function></RefName>
|
||||
<RefPurpose>write the spec and any associated properties to the ToolTalk database
|
||||
</RefPurpose>
|
||||
</RefNameDiv>
|
||||
<!-- $XConsortium: write.sgm /main/5 1996/08/30 15:26:05 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_write</Function></FuncDef>
|
||||
<ParamDef>const char *<Parameter>objid</Parameter></ParamDef>
|
||||
</FuncSynopsis>
|
||||
</RefSynopsisDiv>
|
||||
<RefSect1>
|
||||
<Title>DESCRIPTION</Title>
|
||||
<Para>The
|
||||
<Function>tt_spec_write</Function> function
|
||||
writes the spec and any associated properties to the ToolTalk database.
|
||||
The type must be set before the spec is written for the first time.
|
||||
</Para>
|
||||
<Para>The
|
||||
<Emphasis>objid</Emphasis> argument is the identifier of the object involved in this operation.
|
||||
</Para>
|
||||
</RefSect1>
|
||||
<RefSect1>
|
||||
<Title>RETURN VALUE</Title>
|
||||
<Para>Upon successful completion, the
|
||||
<Function>tt_spec_write</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_DBAVAIL</Term>
|
||||
<ListItem>
|
||||
<Para>The ToolTalk service could not access the
|
||||
ToolTalk database needed for this operation.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
<Term>TT_ERR_DBEXIST</Term>
|
||||
<ListItem>
|
||||
<Para>The ToolTalk service could not access the
|
||||
specified ToolTalk database in the expected place.
|
||||
</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_OTYPE</Term>
|
||||
<ListItem>
|
||||
<Para>The specified object type is not the name of an installed object type.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
</VariableList>
|
||||
</RefSect1>
|
||||
<RefSect1>
|
||||
<Title>APPLICATION USAGE</Title>
|
||||
<Para>It is not necessary to perform a write operation after a destroy operation.
|
||||
</Para>
|
||||
<Para>Several changes can be batched between write calls; for example,
|
||||
the application can
|
||||
create an object spec, set some properties, and then write all the changes at
|
||||
once with one write call.
|
||||
</Para>
|
||||
</RefSect1>
|
||||
<RefSect1>
|
||||
<Title>SEE ALSO</Title>
|
||||
<Para>&cdeman.Tt.tt.c.h;, &cdeman.tt.spec.create;, &cdeman.tt.spec.type.set;.</Para>
|
||||
</RefSect1>
|
||||
</RefEntry>
|
||||
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|
||||
Reference in New Issue
Block a user