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 */
}