NAME

exit_unit -- exit out of NST

PROTOTYPE

unitptr exit_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, all nested NST exec or adapt calls return until the topmost calling level is reached. Thus, this is the NST-equivalent of an exit statement.

NOTE:

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

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../nstsrc/nst_stdr.c