X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-89
Text of C Example
}; /* if error */
}
else if( file == comm_file )
{
if( error != 0 )
{
ReportCommError( error );
}
else
{
if( tag == READ_TAG )
{
CommComplete( count );
PromptTerminal( );
}; /* if tag == read_tag */
}; /* if error */
}
else
{
DEBUG( );
}; /* if file == term_file */
} /* while */
if( call_sent_flag )
CONTROL( comm_file, 12 ); /* clear the call to the remote */
} /* main() */