Commit 1c626f99 authored by deuce's avatar deuce
Browse files

Add comioDrainOutput() function. Hopefully this will allow the dtr_delay

thing to go away if Win32 has something similar.
parent b2d9ae9c
......@@ -205,3 +205,7 @@ BOOL comPurgeOutput(COM_HANDLE handle)
return(tcflush(handle, TCOFLUSH)==0);
}
BOOL comDrainOutput(COM_HANDLE handle)
{
return(tcdrain(handle)==0);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment