Get_Sysinfo(4)
Get_Sysinfo(4) DEVICES AND NETWORK INTERFACES Get_Sysinfo(4)
NAME
Get_Sysinfo request - get information about a tool's host
SYNOPSIS
Get_Sysinfo(out string sysname,
out string nodename,
out string release,
out string version,
out string machine);
DESCRIPTION
The Get_Sysinfo request gets information about the handler's
host.
The sysname argument is the name of the host's operating
system.
The nodename argument is the name of the host.
The release and version arguments are implementation-
specific information about the host's operating system.
The machine argument is an implementation-specific name that
identifies the hardware on which the operating system is
running.
APPLICATION USAGE
The ttdt_session_join(3), function can be used to register
for, and transparently process, the Get_Sysinfo request.
EXAMPLES
The Get_Sysinfo message can be sent as in the following
example:
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);
SEE ALSO
uname(2) tt_message_arg_add(3), tt_message_send(3),
ttdt_session_join(3).
Unix System LaboratorLast change: 13 May 1994 1
Man(1) output converted with
man2html