![]() |
![]() |
![]() |
Default handler for _IO_OPENFD messages
#include <sys/iofunc.h> int iofunc_openfd_default( resmgr_context_t *ctp, io_openfd_t *msg, iofunc_ocb_t *ocb );
libc
The function iofunc_openfd_default() function implements POSIX semantics for the client's openfd() call, which is received as an _IO_OPENFD message by the resource manager. This function can be placed directly into the io_funcs table passed to resmgr_attach(), at the openfd position.
The iofunc_openfd_default() function calls iofunc_openfd() to do the actual work, and (if installed in the io_funcs table) issues the reply back to the client.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
iofunc_chown_default(), iofunc_openfd(), iofunc_sync_default()
![]() |
![]() |
![]() |