| Updated: October 28, 2024 |
int (*openfd) ( resmgr_context_t *ctp,
io_openfd_t *msg,
RESMGR_OCB_T *ocb )
struct _io_openfd {
uint16_t type;
uint16_t combine_len;
uint32_t ioflag;
uint16_t sflag;
uint16_t reserved1;
struct _msg_info32 info;
uint32_t reserved2;
uint32_t key;
};
typedef union {
struct _io_openfd i;
} io_openfd_t;
The default implementation iofunc_openfd_default() checks the extended type and then calls the helper function iofunc_openfd. The helper function makes sure that the new permissions are not less restrictive than the access mode that is currently open.