Date: Tue, 14 Jan 1997 11:35:12 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: brandon@cold.org (Brandon Gillespie) Cc: freebsd-hackers@freebsd.org Subject: Re: select() on a serial device--ignoring OS buffered chars? Message-ID: <199701141835.LAA00316@phaeton.artisoft.com> In-Reply-To: <Pine.NEB.3.95.970114104018.3232A-100000@cold.org> from "Brandon Gillespie" at Jan 14, 97 10:48:47 am
next in thread | previous in thread | raw e-mail | index | archive | help
> I have a function that does a read on a serial device that is set as > non-blocking. I have a monitor on the line and I KNOW the OS has the > characters sent to it, and they are likely buffered, but this function is > not behaving correctly. Are you sure? Are they buffered in an OS buffer, or are they buffered in the UART FIFO? If the UART FIFO, are you using a National 16550AF or better? Or are you using a UART that won't auto-flush it's FIFO to the host until the FIFO is full? Hopefully, answering these questions will help you understand the answer to yours... probably your request belongs on the -questions list, not -hackers. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701141835.LAA00316>