destroy.sgm 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!-- $XConsortium: destroy.sgm /main/5 1996/08/30 15:21:31 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. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN239.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN239.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>tt_spec_destroy</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>tt_spec_destroy</Function></RefName>
  17. <RefPurpose>destroy an object's spec
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: destroy.sgm /main/5 1996/08/30 15:21:31 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <FuncSynopsis Remap="ANSI">
  28. <FuncSynopsisInfo>#include &lt;Tt/tt_c.h>
  29. </FuncSynopsisInfo>
  30. <FuncDef>Tt_status <Function>tt_spec_destroy</Function></FuncDef>
  31. <ParamDef>const char *<Parameter>objid</Parameter></ParamDef>
  32. </FuncSynopsis>
  33. </RefSynopsisDiv>
  34. <RefSect1>
  35. <Title>DESCRIPTION</Title>
  36. <Para>The
  37. <Function>tt_spec_destroy</Function> function
  38. destroys an object's spec immediately.
  39. </Para>
  40. <Para>The
  41. <Emphasis>objid</Emphasis> argument is the identifier of the object involved in this operation.
  42. </Para>
  43. </RefSect1>
  44. <RefSect1>
  45. <Title>RETURN VALUE</Title>
  46. <Para>Upon successful completion, the
  47. <Function>tt_spec_destroy</Function> function returns the status of the operation as one of the following
  48. <StructName Role="typedef">Tt_status</StructName> values:
  49. </Para>
  50. <VariableList>
  51. <VarListEntry>
  52. <Term>TT_OK</Term>
  53. <ListItem>
  54. <Para>The operation completed successfully.
  55. </Para>
  56. </ListItem>
  57. </VarListEntry>
  58. <VarListEntry>
  59. <Term>TT_ERR_DBAVAIL</Term>
  60. <ListItem>
  61. <Para>The ToolTalk service could not access the
  62. ToolTalk database needed for this operation.
  63. </Para>
  64. </ListItem>
  65. </VarListEntry>
  66. <VarListEntry>
  67. <Term>TT_ERR_DBEXIST</Term>
  68. <ListItem>
  69. <Para>The ToolTalk service could not access the
  70. specified ToolTalk database in the expected place.
  71. </Para>
  72. </ListItem>
  73. </VarListEntry>
  74. <VarListEntry>
  75. <Term>TT_ERR_NOMP</Term>
  76. <ListItem>
  77. <Para>The
  78. &cdeman.ttsession; process is not running and the ToolTalk service cannot restart it.
  79. </Para>
  80. </ListItem>
  81. </VarListEntry>
  82. <VarListEntry>
  83. <Term>TT_ERR_OBJID</Term>
  84. <ListItem>
  85. <Para>The
  86. <Emphasis>objid</Emphasis> passed to the ToolTalk service does not reference an existing object spec.
  87. </Para>
  88. </ListItem>
  89. </VarListEntry>
  90. </VariableList>
  91. </RefSect1>
  92. <RefSect1>
  93. <Title>SEE ALSO</Title>
  94. <Para>&cdeman.Tt.tt.c.h;.</Para>
  95. </RefSect1>
  96. </RefEntry>
  97. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->