Marcus Brinkmann <[EMAIL PROTECTED]> writes: > how am I supposed to get the openmodes in netfs callbacks like > netfs_attempt_read? > > This is critical to implement O_NONBLOCK behaviour correctly. > But the interface is giving me user->user and user->po->np, > but I need user->po->openmodes.
Netfs implements only files, and files don't block on read, ever. I would prefer a different library if you want to support something different. But, failing that, if you just want it to work now, using the "wrong" library, the thing to do is to extend netfs/io-read.c to do what you want. _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd