OSINFO_$GET_REV Domain/OS OSINFO_$GET_REV
NAME
osinfo_$get_rev - get Domain/OS revision information
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/osinfo.h>
void osinfo_$get_rev(
char *node_spec,
short &spec_length,
short &version_number,
int &revision_size,
os_rev_$t *revision_info,
status_$t *status)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/osinfo.ins.pas';
procedure osinfo_$get_rev(
in node_spec: univ os_rev_str_$t;
in spec_length: pinteger;
in version_number: pinteger;
in revision_size: linteger;
out revision_info: os_rev_$t;
out status: status_$t);
DESCRIPTION
osinfo_$get_rev supplies information on the current Domain/OS revision
running on the node named node_spec.
node_spec
A node specification. Node_spec can be either the root path or the
node ID (network_number.node_number) of a node: "//fnord" or
"4051237a.a105," for example.
spec_length
The number of bytes in node_spec.
version_number
The version of the call the calling program was coded to use. Set
this to os_rev_$version.
revision_size
The size of the buffer allocated to receive revision_info. In C or
Pascal, this is just sizeof(revision_info).
revision_info
A record of type os_rev_$t containing information about the revision
running on node_spec.
status
The completion status.