On Mon, 2006-02-13 at 13:41 -0800, Martin Hunt wrote: > On Mon, 2006-02-13 at 20:44 +0000, Mark McLoughlin wrote: > > O_CREAT works fine, but try O_ASYNC (AFAIR) > > Yeah, a quirk of the kernel headers is that they define FASYNC instead > of the equivalent O_ASYNC. The user headers define both > # define FASYNC O_ASYNC Yes, I thought there was another missing value, though. Turns out that was O_NDCTTY which is merely a typo - it should be O_NOCTTY. Patch attached. Cheers, Mark.