Mmmm.. Mostly your copy just has a lot of whitespace adjustments and curly bracket changes. Not much actual real code difference.

Here (attached) is a copy of mine, with your cfmakeraw() and O_NDELAY changes incorporated. Does this build for you? If not, send me the compiler messages.

Thanks


Attachments
294667-download.c (186 downloads)