Renesas REJ10J1822-0101 Computer Hardware User Manual


 
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 53 of 128
REJ10J1822-0101
6.2.2 Function without a Return Value
Description:
For a function that doesn’t have a return value, a return-value specification must not be made.
Example:
Specification of a server function
void func(struct ST *ptr);
The function has no input and returns a value in the ST structure indicated by *ptr.
Definition of the server function
func([OUT PTR]struct ST *ptr);