IsTrue.sgm 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!-- $XConsortium: IsTrue.sgm /main/6 1996/09/08 20:21:54 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.MAN43.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN43.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtDtsIsTrue</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtDtsIsTrue</Function></RefName>
  17. <RefPurpose>return a Boolean value associated with a string
  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>Boolean <Function>DtDtsIsTrue</Function></FuncDef>
  30. <ParamDef>const char *<Parameter>string</Parameter></ParamDef>
  31. </FuncSynopsis>
  32. </RefSynopsisDiv>
  33. <RefSect1>
  34. <Title>DESCRIPTION</Title>
  35. <Para>The
  36. <Function>DtDtsIsTrue</Function> function tests a string for a Boolean value.
  37. Any of the following
  38. <Symbol Role="Variable">string</Symbol> values, without regard to case,
  39. causes a return value of True:
  40. </Para>
  41. <InformalExample Remap="indent">
  42. <ProgramListing>true
  43. yes
  44. on
  45. 1
  46. </ProgramListing>
  47. </InformalExample>
  48. </RefSect1>
  49. <RefSect1>
  50. <Title>RETURN VALUE</Title>
  51. <Para>The
  52. <Function>DtDtsIsTrue</Function> function returns True if the
  53. <Symbol Role="Variable">string</Symbol> represents a true value;
  54. otherwise, it returns False.
  55. </Para>
  56. </RefSect1>
  57. <RefSect1>
  58. <Title>SEE ALSO</Title>
  59. <Para><Filename Role="Header">Dt/Dts.h</Filename>, &cdeman.DtDtsBufferToAttributeList;, &cdeman.DtDtsBufferToAttributeValue;, &cdeman.DtDtsFileToAttributeList;, &cdeman.DtDtsFileToAttributeValue;, &cdeman.DtDtsDataTypeToAttributeList;, &cdeman.DtDtsDataTypeToAttributeValue;.</Para>
  60. </RefSect1>
  61. </RefEntry>
  62. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->