The Return Line

A zcentry may have no more than one return line. If a table entry contains no RETURN line, the table creation process defaults RETURN to STATUS. The table creation process does not currently detect multiple return lines. The return line must follow the routine line and precede the input and output lines. If the return line is not present, it defaults to CLASS=STATUS, TYPE=LONG.

The format for the return line is:

	RETURN retkeyword=value [, ... ]
	Valid retkeywords:
	[CLASS =] STATUS | VALUE | IGNORED
	TYPE = DOUBLE | FLOATING | G_FLOATING | LONG 
	| QUAD | BYTE | BYTEU | WORD | WORDU | LONGU
	

Return line keywords and their values must appear on a single MACRO line. MACRO lines may be continued by terminating them with a dash.

The CLASS keyword specifies how the external call handles the value left in the return register(s) by the external routine. An input line may specify a class keyword alone, rather than as the argument to the CLASS keyword. The CLASS keyword specifies one of three classes of returned values: