Renesas V.1.00 Computer Hardware User Manual


 
Section 7 Server Functions Not Supported by RPCGEN
Rev. 1.01 Mar. 17, 2008 Page 91 of 128
REJ10J1822-0101
7.2 Return Value
(1) Pointer
If a function returns a pointer-type value, this return value indicates an address in the server.
RPCGEN does not create any code to transfer the data indicated by the pointer from the server to
the client.
Example:
Specification of a server function
int *func(int par);
The return value is a pointer to int-type data.
Definition of the server function
int *ret = func([IN DFLT]int par);
In this case, ret is a pointer to int-type data returned within the server by the server function.