Renesas V.1.00 Computer Hardware User Manual


 
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 64 of 128
REJ10J1822-0101
6.6.2 STR (String)
Input/Output Keywords Available in Combination with STR:
IN
Description:
The string specified as the parameter is transferred from the client to the server. STR is only
specifiable when the parameter is of the character type.
When STR is used with REF, the pointer to the string is transferred instead of the string itself. For
details, refer to section 6.5.4, REF (Passing by Reference).
Example:
Specification of a server function
int func(const char *s);
The function takes string s as an input and returns a value of type int.
Definition of the server function
int ret = func([IN STR]const char *s);