| Updated: October 28, 2024 |
int (*close_ocb) ( resmgr_context_t *ctp,
void *reserved,
RESMGR_OCB_T *ocb )
// synthesized by library
struct _io_close {
uint16_t type;
uint16_t combine_len;
};
typedef union {
struct _io_close i;
} io_close_t;
The default implementation iofunc_close_ocb_default() and helper function iofunc_close_ocb() do not do permission checking. No permission checking is required. You should only need to implement this function if you created your own OCB (see also iofunc_close_ocb_calloc and iofunc_close_ocb_free).