next up previous contents
Next: ddu_startddu_stop Up: User Routines Previous: ddu_attach

ddu_attached

Usage: int ddu_attached()
Returns: 0 if good status, -1 if bad status.

This routine (which in turn is called by every user routine) allows to find out, whether the DD system still exists. Thus a monitor process consists typically of a loop like:
int status; status = ddu_attach();
while ( ddu_attached() ) {
/* do something */
}



Online software development
Thu Mar 14 10:35:53 EST 1996