RPMGETSTRING

Allows the child program to retrieve strings passed to it by the parent program.

RPMGETSTRING (rpmstring,rpmstringlen,result)

rpmstring

Packed array of characters (Pascal); word

 

array (FORTRAN), by reference. A variable length

 

array containing the string passed in the opt parameter of the

 

RPMCreate call which scheduled this child program.

rpmstringlen

32-bit non-negative integer, by reference. On

(input/output)

input, rpmstringlen is the maximum byte length allowed for

 

the rpmstring. On output, rpmstringlen indicates the

 

actual length of the returned rpmstring. A string longer than

 

what the buffer can accommodate will be truncated. In RTEA

 

the maximum string length retrieved with RPMGetString is

 

256 bytes.

 

If there is no string received in rpmstring, an error is

 

returned in result.

result

32-bit non-negative integer, by reference.

 

The result of the RPMGetString request; zero if no error. If

 

result is not zero, an error has occurred. Errors are defined

 

in the NSARPA/1000 Error Message and Recover Manual.

Remote Process Management 719