Frees all locks allocated for the client process
#include <sys/iofunc.h>
int iofunc_close_dup( resmgr_context_t* ctp,
io_close_t* msg,
iofunc_ocb_t* ocb,
iofunc_attr_t* attr );
libc
The iofunc_close_dup() function frees all locks allocated for the client process on the file descriptor and performs any POSIX-related cleanup required when a dupped ocb is detached.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
iofunc_close_dup_default(), iofunc_close_ocb()