Check serial port buffer
Can anyoune tell me how can I check the first byte of the serial port buffer without removing it from the buffer?
thank you
----- Original Message -----
From: "Iorga Alin" <[email protected]>
Newsgroups: ka.lists.linux.c.programming
Sent: Friday, April 26, 2002 2:17 PM
Subject: Check serial port buffer
Quoted 7 lines
Can anyoune tell me how can I check the first byte of the serial port buffer without removing it from the buffer?
thank you
-
To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
Quoted 6 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--------------------------------------------------------------------------
-----
Quoted 1 line
Achtung: diese Newsgruppe ist eine unidirektional gegatete
Mailingliste.
Quoted 3 lines
Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
Fragen zum Gateway -> [email protected].
--------------------------------------------------------------------------
----
doesn't ungetch() work ?
Quoted 4 lines · Daniel
Quoted 2 lines
Can anyoune tell me how can I check the first byte of the serial port buffer without removing it from the buffer?
doesn't
ungetch()work ?
ungetc() puts the character back in the stdio buffer. It can't put it back into the underlying OS stream.
Signature · 1 line
Glynn Clements <[email protected]>