Guardian Procedure Calls Reference Manual
REMOTETOSVERSION Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Example
Related Programming Manual
Summary
The REMOTETOSVERSION procedure identifies which version of the operating system is running
on a remote system.
Syntax for C Programmers
#include <cextdecs(REMOTETOSVERSION)>
short REMOTETOSVERSION ( [ short sysid ] );
Syntax for TAL Programmers
tos-version := REMOTETOSVERSION [ ( sysid ) ]; ! i
Parameters
sysid
input
INT:value
is the system number that identifies the system for which the operating system version is returned.
If sysid is omitted, it defaults to the local system.
Returned Value
INT
Version of the operating system in the form:
Uppercase ASCII letter indicating the version of the operating system.<0:7>
Binary number specifying the release number of the version.<8:15>
Operating-System VersionASCII Letter
DnnN
FnnP
GnnQ
HnnR
Zero is returned if the system sysid does not exist or is inaccessible.
1238 Guardian Procedure Calls (R)