ioctl(~CRMOD) mungs last character in queue

Dave Mason mason at utcsrgv.UUCP
Sun Apr 15 01:58:57 AEST 1984


The obvious thing to do is for the "wait for output to drain" part of ioctl
to output a (maybe 2) null characters before it starts waiting..that way you
can be sure the real data has gone by the time you mess with the UART.
-- 
Usenet:	{dalcs dciem garfield musocs qucis sask titan trigraph ubc-vision
 	 utzoo watmath allegra cornell decvax decwrl ihnp4 uw-beaver}
	!utcsrgv!mason		Dave Mason, U. Toronto CSRG
CSNET:	mason at Toronto
ARPA:	mason%Toronto at CSNet-Relay



More information about the Comp.unix.wizards mailing list