FindAttr.sgm 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!-- $XConsortium: FindAttr.sgm /main/5 1996/08/30 13:20:15 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.MAN38.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN38.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtDtsFindAttribute</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtDtsFindAttribute</Function></RefName>
  17. <RefPurpose>get a specified list of data types
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  22. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  23. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  25. <RefSynopsisDiv>
  26. <FuncSynopsis Remap="ANSI">
  27. <FuncSynopsisInfo>#include &lt;Dt/Dts.h>
  28. </FuncSynopsisInfo>
  29. <FuncDef>char <Function>**DtDtsFindAttribute</Function></FuncDef>
  30. <ParamDef>const char *<Parameter>attr_name</Parameter></ParamDef>
  31. <ParamDef>const char *<Parameter>attr_value</Parameter></ParamDef>
  32. </FuncSynopsis>
  33. </RefSynopsisDiv>
  34. <RefSect1>
  35. <Title>DESCRIPTION</Title>
  36. <Para>The
  37. <Function>DtDtsFindAttribute</Function> function
  38. returns the list of data types that have an attribute name that equals
  39. the specified value.
  40. </Para>
  41. <Para>The
  42. <Emphasis>attr_name</Emphasis> argument is the attribute name.
  43. </Para>
  44. <Para>The
  45. <Emphasis>attr_value</Emphasis> argument is the value of an attribute to be matched.
  46. </Para>
  47. </RefSect1>
  48. <RefSect1>
  49. <Title>RETURN VALUE</Title>
  50. <Para>Upon successful completion, the
  51. <Function>DtDtsFindAttribute</Function> function returns a
  52. <SystemItem Class="Constant">NULL</SystemItem>-terminated array of data types, or
  53. <SystemItem Class="Constant">NULL</SystemItem> if no value could be determined.
  54. </Para>
  55. </RefSect1>
  56. <RefSect1>
  57. <Title>APPLICATION USAGE</Title>
  58. <Para>The application should use the
  59. &cdeman.DtDtsFreeDataTypeNames; function to release the memory for the returned value.
  60. </Para>
  61. </RefSect1>
  62. <RefSect1>
  63. <Title>SEE ALSO</Title>
  64. <Para><Filename Role="Header">Dt/Dts.h</Filename>, &cdeman.DtDtsLoadDataTypes;, &cdeman.DtDtsFreeDataTypeNames;.</Para>
  65. </RefSect1>
  66. </RefEntry>
  67. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->