Files
cdesktop/cde/doc/C/guides/man/man4/Get_Sysi.sgm

93 lines
3.3 KiB
Plaintext

<!-- $XConsortium: Get_Sysi.sgm /main/6 1996/09/08 20:14:21 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN293.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN293.rsml.1">]]>
<RefMeta>
<RefEntryTitle>Get_Sysinfo</RefEntryTitle>
<ManVolNum>special file</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Symbol Role="Message">Get_Sysinfo</Symbol></RefName>
<RefPurpose>get information about a tool's host
</RefPurpose>
</RefNameDiv>
<!-- $XConsortium: Get_Sysi.sgm /main/6 1996/09/08 20:14:21 rws $-->
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<RefSynopsisDiv>
<Synopsis>Get_Sysinfo(out string <Emphasis>sysname</Emphasis>,
out string <Emphasis>nodename</Emphasis>,
out string <Emphasis>release</Emphasis>,
out string <Symbol Role="Variable">version</Symbol>,
out string <Emphasis>machine</Emphasis>);
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Symbol Role="Message">Get_Sysinfo</Symbol> request gets information about the handler's host.
</Para>
<Para>The
<Emphasis>sysname</Emphasis> argument
is the name of the host's operating system.
</Para>
<Para>The
<Emphasis>nodename</Emphasis> argument
is the name of the host.
</Para>
<Para>The
<Emphasis>release</Emphasis> and
<Symbol Role="Variable">version</Symbol> arguments are
implementation-specific information about the host's operating system.
</Para>
<Para>The
<Emphasis>machine</Emphasis> argument
is an implementation-specific name that identifies the hardware
on which the operating system is running.
</Para>
</RefSect1>
<RefSect1>
<Title>APPLICATION USAGE</Title>
<Para>The
&cdeman.ttdt.session.join;, function
can be used to register for,
and transparently process, the
<Symbol Role="Message">Get_Sysinfo</Symbol> request.
</Para>
</RefSect1>
<RefSect1>
<Title>EXAMPLES</Title>
<Para>The
<Symbol Role="Message">Get_Sysinfo</Symbol> message can be sent as in the following example:
</Para>
<InformalExample Remap="indent">
<ProgramListing>Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,
the_recipient_procid, TTDT_GET_SYSINFO,
my_callback);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_send(msg);
</ProgramListing>
</InformalExample>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para><Function>uname</Function>(2) <![ %CDE.C.XO; [in the &str-ZK;,
]]>&cdeman.tt.message.arg.add;, &cdeman.tt.message.send;, &cdeman.ttdt.session.join;.</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->