ActionEx.sgm 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!-- $XConsortium: ActionEx.sgm /main/6 1996/08/30 12:53:11 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.MAN10.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN10.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtActionExists</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtActionExists</Function></RefName>
  17. <RefPurpose>determine if a string corresponds to an action name
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- *************************************************************************-->
  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. <!-- *************************************************************************-->
  27. <RefSynopsisDiv>
  28. <FuncSynopsis Remap="ANSI">
  29. <FuncSynopsisInfo>#include &lt;Dt/Action.h>
  30. </FuncSynopsisInfo>
  31. <FuncDef>Boolean <Function>DtActionExists</Function></FuncDef>
  32. <ParamDef>char *<Parameter>name</Parameter></ParamDef>
  33. </FuncSynopsis>
  34. </RefSynopsisDiv>
  35. <RefSect1>
  36. <Title>DESCRIPTION</Title>
  37. <Para>The
  38. <Function>DtActionExists</Function> function checks whether a given name corresponds to an action name.
  39. The
  40. <Symbol Role="Variable">name</Symbol> argument is the name of the action.
  41. </Para>
  42. </RefSect1>
  43. <RefSect1>
  44. <Title>RETURN VALUE</Title>
  45. <Para>Upon successful completion, the
  46. <Function>DtActionExists</Function> function returns
  47. True
  48. if
  49. <Symbol Role="Variable">name</Symbol> corresponds to an existing action name;
  50. otherwise, it returns
  51. <SystemItem Class="Constant">False</SystemItem>.</Para>
  52. </RefSect1>
  53. <RefSect1>
  54. <Title>APPLICATION USAGE</Title>
  55. <Para>The
  56. <Function>DtActionExists</Function> function is useful for applications that need to verify that an
  57. action name is valid before attempting to invoke it.
  58. </Para>
  59. </RefSect1>
  60. <RefSect1>
  61. <Title>SEE ALSO</Title>
  62. <Para>&cdeman.Dt.Action.h;, <![ %CDE.C.CDE; [&cdeman.dtactionfile;, &cdeman.dtdtfile;. ]]><![ %CDE.C.XO; [<XRef Linkend="XCDI.ACTI.anch.3" Role="2">, <XRef Linkend="XCDI.M4DTS.anch.1" Role="3">. ]]></Para>
  63. </RefSect1>
  64. </RefEntry>
  65. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->