Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/02/01 08:31
Read: times


 
#13755 - RE: detecting -1
Hi Andrej,

use int as return value:

int com_getchar();

Then 0 ... 0xFF = data byte or -1 (0xFFFF) = buffer empty.


Peter


List of 6 messages in thread
TopicAuthorDate
detecting -1            01/01/70 00:00      
RE: detecting -1            01/01/70 00:00      
RE: detecting -1            01/01/70 00:00      
RE: detecting -1            01/01/70 00:00      
RE: detecting -1            01/01/70 00:00      
RE: detecting -1            01/01/70 00:00      

Back to Subject List