NAME

return_unit -- return from execution of subunits

PROTOTYPE

unitptr return_unit( unitptr uHost)

ARGUMENTS

unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

CTL_in[1]:
(control field) a value of 0 disables the unit

EXECUTION OF CREATED UNIT:

When this unit is encountered during exec or adapt, processing of subunits within the current container stops and continues with the next (previous in case of adapt ) unit at the host level. Thus, this is the NST-equivalent of a return statement.

NOTE:

The NST operations ctrl_unit, load_unit and save_unit are not affected by a return_unit.

FILE

/local/homes/rhaschke/nst7/man/../o.linx86_64//../nstsrc/nst_stdr.c