Get_Env.sgm 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!-- $XConsortium: Get_Env.sgm /main/5 1996/08/30 14:47:56 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.MAN285.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN285.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Get_Environment</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Get_Environment</Symbol></RefName>
  17. <RefPurpose>get a tool's environment
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Get_Env.sgm /main/5 1996/08/30 14:47:56 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. <Synopsis>Get_Environment(in string <Symbol Role="Variable">variable</Symbol>,
  28. out string <Symbol Role="Variable">value</Symbol>
  29. [...]);
  30. </Synopsis>
  31. </RefSynopsisDiv>
  32. <RefSect1>
  33. <Title>DESCRIPTION</Title>
  34. <Para>The
  35. <Symbol Role="Message">Get_Environment</Symbol> request
  36. reports the value of the indicated environment variable(s).
  37. </Para>
  38. <Para>The
  39. <Symbol Role="Variable">variable</Symbol> argument
  40. is the name of the environment variable to get.
  41. </Para>
  42. <Para>The
  43. <Symbol Role="Variable">value</Symbol> argument
  44. is the value of the environment variable.
  45. If no value (in other words,
  46. <Literal>(char *)0</Literal>) is returned for this
  47. argument, then the variable was not present in the
  48. handler's environment.
  49. This condition is not an error.
  50. If an empty string (in other words, "&thinsp;")
  51. is returned for this argument, then the variable was present in the
  52. handler's environment, but had a null value.
  53. </Para>
  54. </RefSect1>
  55. <RefSect1>
  56. <Title>APPLICATION USAGE</Title>
  57. <Para>The
  58. &cdeman.ttdt.session.join;, function can be used to register for,
  59. and transparently process, the
  60. <Symbol Role="Message">Get_Environment</Symbol> request.
  61. </Para>
  62. </RefSect1>
  63. <RefSect1>
  64. <Title>SEE ALSO</Title>
  65. <Para>&cdeman.ttdt.session.join;; <Symbol Role="Message">Set_Environment</Symbol> request.
  66. </Para>
  67. </RefSect1>
  68. </RefEntry>
  69. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->