in reply to Re: Re: Serial I/O and time question
in thread Serial I/O and time question

Aye. The actual code I pulled this from uses gets() in manner such that if the input matches a pattern, it returns immediately, so we read one character at a time to only read up to the point where the match occurs and nothing beyond.