[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: aio LSB testcases



> > > test with pipe
> > testing not supported on pipes
> > > test with pty
> > etc...
> > 
> > How does it know? What decided that testing is not supported or even
> > appropriate with pipes, tty, pty etc. What does testing 
> with pipe really
> > mean here?
> 
> I've seen this error as well but I don't know what causes it.

The implementation is supposed to tell you this.
You're supposed to inquire if a file descriptor
supports async I/O by doing:

pathconf(fd, _POSIX_ASYNC_IO)

I imagine this is what the test suite is doing...


-- 
To UNSUBSCRIBE, email to lsb-test-request@lists.linuxbase.org
with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org



Reply to: