Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual—522629-013
6-30
GETSYSTEMSERIALNUMBER Procedure
GETSYSTEMSERIALNUMBER Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Summary
The GETSYSTEMSERIALNUMBER procedure returns the system serial number of the
caller’s system as an ASCII character string of numerals.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
returns -1 if
max-buffer-length is too small. Otherwise, it returns a file-system
error value.
string-buffer output
INT .EXT:ref:*
is the string array that contains the numerals of the system serial number on
return.
max-buffer-length input
INT:value
is the size of the string array buffer
string-buffer.
#include <cextdecs(GETSYSTEMSERIALNUMBER)>
short GETSYSTEMSERIALNUMBER ( short *string-buffer
, short max-buffer-length
, short *string-length );
error := GETSYSTEMSERIALNUMBER ( <string-buffer > ! o
, <max-buffer-length > ! i
, <string-length > );!o