propna_c.sgm 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!-- $XConsortium: propna_c.sgm /main/5 1996/08/30 15:24: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.MAN247.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN247.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>tt_spec_propnames_count</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>tt_spec_propnames_count</Function></RefName>
  17. <RefPurpose>return the number of property names for an object
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: propna_c.sgm /main/5 1996/08/30 15:24: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>int <Function>tt_spec_propnames_count</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_propnames_count</Function> function
  38. returns the number of property names for this object.
  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_propnames_count</Function> function returns the number of values listed in the spec property.
  48. The application can use
  49. &cdeman.tt.int.error; to extract one of the following
  50. <StructName Role="typedef">Tt_status</StructName> values from the returned integer:
  51. </Para>
  52. <VariableList>
  53. <VarListEntry>
  54. <Term>TT_OK</Term>
  55. <ListItem>
  56. <Para>The operation completed successfully.
  57. </Para>
  58. </ListItem>
  59. </VarListEntry>
  60. <VarListEntry>
  61. <Term>TT_ERR_DBAVAIL</Term>
  62. <ListItem>
  63. <Para>The ToolTalk service could not access the
  64. ToolTalk database needed for this operation.
  65. </Para>
  66. </ListItem>
  67. </VarListEntry>
  68. <VarListEntry>
  69. <Term>TT_ERR_DBEXIST</Term>
  70. <ListItem>
  71. <Para>The ToolTalk service could not access the
  72. specified ToolTalk database in the expected place.
  73. </Para>
  74. </ListItem>
  75. </VarListEntry>
  76. <VarListEntry>
  77. <Term>TT_ERR_NOMP</Term>
  78. <ListItem>
  79. <Para>The
  80. &cdeman.ttsession; process is not running and the ToolTalk service cannot restart it.
  81. </Para>
  82. </ListItem>
  83. </VarListEntry>
  84. <VarListEntry>
  85. <Term>TT_ERR_OBJID</Term>
  86. <ListItem>
  87. <Para>The
  88. <Emphasis>objid</Emphasis> passed to the ToolTalk service does not reference an existing object spec.
  89. </Para>
  90. </ListItem>
  91. </VarListEntry>
  92. </VariableList>
  93. </RefSect1>
  94. <RefSect1>
  95. <Title>SEE ALSO</Title>
  96. <Para>&cdeman.Tt.tt.c.h;, &cdeman.tt.int.error;.</Para>
  97. </RefSect1>
  98. </RefEntry>
  99. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->