>>>>> "John" == John H Darrah <[EMAIL PROTECTED]> writes:
John> Does any one know if ferror returns anything on a
John> framing, parity or overrun error? It appears that
John> it doesn't from the testing I've done.
man termios; see PARMRK.
ferror(3) is a stdio function. It doesn't actually know anything
about the underlying hardware. IMHO, if your application actually
cares that the underlying comms. layer is serial rather than (e.g.) a
file or a network pty then you should consider using read(2) and
write(2) instead of stdio.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.