usr.bin/tn3270/distribution/sys_dos/termout.c
/* returns a 1 if no more output available (so, go ahead and block),
    or a 0 if there is more output available (so, just poll the other
    sources/destinations, don't block).
 */
returns a 1 if no more output available (so, go ahead and block),
or a 0 if there is more output available (so, just poll the other
sources/destinations, don't block).
returns a 1 if no more output available ( so go ahead and block ) or a 0 if there is more output available ( so just poll the other sources / destinations don ' t block ) .
int
DoTerminalOutput()
{
    if (!(screenInitd||screenStopped)) {
	return 1;		
    }
    if ((Lowest <= Highest) || needToRing ||
			(terminalCursorAddress != CorrectTerminalCursor())) {
	TryToSend();
    }
    if (Lowest > Highest) {
	return 1;		
    } else {
	return 0;		
    }
}
int DoTerminalOutput ( ) { if ( ! ( screenInitd || screenStopped ) ) { return 1 ; } if ( ( Lowest <= Highest ) || needToRing || ( terminalCursorAddress != CorrectTerminalCursor ( ) ) ) { TryToSend ( ) ; } if ( Lowest > Highest ) { return 1 ; } else { return 0 ; } }
returns a 1 if no more output available (so, go ahead and block),
or a 0 if there is more output available (so, just poll the other
sources/destinations, don't block).
returns a 1 if no more output available ( so go ahead and block ) or a 0 if there is more output available ( so just poll the other sources / destinations don ' t block ) .
/* called just before a select to conserve IO to terminal */ /* No output if not initialized */ /* no more output now */ /* more output for future */