%RX_RMT_SYSINFO

Return operating system information for xfServerPlus machine

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
status = %RX_RMT_SYSINFO(netid, os, endian_type, int_size)

Return value

status

Indicates whether the query was successful. Status returned is RX_SUCCESS. (n)

Arguments

netid

Network connection ID corresponding to the value set by %RX_START_REMOTE. (n)

If the net ID is invalid, $ERR_NOTNETHND (581) or $ERR_INVNETHND (571) is signaled. See the Synergy Runtime Errors Signaled by %RXSUBR table for explanations of these codes.

os

The operating system xfServerPlus is running on. These are included in rxapi.def. (n)

1 = RX_OS_UNIX

2 = RX_OS_VMS

3 = RX_OS_WIN

endian_type

Integer endian type for the platform xfServerPlus is running on. These are included in rxapi.def. (n)

0 = RX_ENDIAN_LITTLE

1 = RX_ENDIAN_BIG

int_size

The integer size for the platform xfServerPlus is running on. These are included in rxapi.def. (n)

0 = RX_INTSIZE_32

1 = RX_INTSIZE_64

2 = RX_INTSIZE_128

Discussion

%RX_RMT_SYSINFO returns operating system information (remote xfServerPlus operating system, endian type, and integer size) associated with a particular net ID. These values can be retrieved separately with %RX_RMT_OS, %RX_RMT_ENDIAN, and %RX_RMT_INTSIZE.