Get_Sysi.sgm 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!-- $XConsortium: Get_Sysi.sgm /main/6 1996/09/08 20:14:21 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.MAN293.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN293.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Get_Sysinfo</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Get_Sysinfo</Symbol></RefName>
  17. <RefPurpose>get information about a tool's host
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Get_Sysi.sgm /main/6 1996/09/08 20:14:21 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_Sysinfo(out string <Emphasis>sysname</Emphasis>,
  28. out string <Emphasis>nodename</Emphasis>,
  29. out string <Emphasis>release</Emphasis>,
  30. out string <Symbol Role="Variable">version</Symbol>,
  31. out string <Emphasis>machine</Emphasis>);
  32. </Synopsis>
  33. </RefSynopsisDiv>
  34. <RefSect1>
  35. <Title>DESCRIPTION</Title>
  36. <Para>The
  37. <Symbol Role="Message">Get_Sysinfo</Symbol> request gets information about the handler's host.
  38. </Para>
  39. <Para>The
  40. <Emphasis>sysname</Emphasis> argument
  41. is the name of the host's operating system.
  42. </Para>
  43. <Para>The
  44. <Emphasis>nodename</Emphasis> argument
  45. is the name of the host.
  46. </Para>
  47. <Para>The
  48. <Emphasis>release</Emphasis> and
  49. <Symbol Role="Variable">version</Symbol> arguments are
  50. implementation-specific information about the host's operating system.
  51. </Para>
  52. <Para>The
  53. <Emphasis>machine</Emphasis> argument
  54. is an implementation-specific name that identifies the hardware
  55. on which the operating system is running.
  56. </Para>
  57. </RefSect1>
  58. <RefSect1>
  59. <Title>APPLICATION USAGE</Title>
  60. <Para>The
  61. &cdeman.ttdt.session.join;, function
  62. can be used to register for,
  63. and transparently process, the
  64. <Symbol Role="Message">Get_Sysinfo</Symbol> request.
  65. </Para>
  66. </RefSect1>
  67. <RefSect1>
  68. <Title>EXAMPLES</Title>
  69. <Para>The
  70. <Symbol Role="Message">Get_Sysinfo</Symbol> message can be sent as in the following example:
  71. </Para>
  72. <InformalExample Remap="indent">
  73. <ProgramListing>Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,
  74. the_recipient_procid, TTDT_GET_SYSINFO,
  75. my_callback);
  76. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  77. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  78. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  79. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  80. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  81. tt_message_send(msg);
  82. </ProgramListing>
  83. </InformalExample>
  84. </RefSect1>
  85. <RefSect1>
  86. <Title>SEE ALSO</Title>
  87. <Para><Function>uname</Function>(2) <![ %CDE.C.XO; [in the &str-ZK;,
  88. ]]>&cdeman.tt.message.arg.add;, &cdeman.tt.message.send;, &cdeman.ttdt.session.join;.</Para>
  89. </RefSect1>
  90. </RefEntry>
  91. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->