[Previous] [Contents] [Next]

iofunc_close_dup()

Frees all locks allocated for the client process

Synopsis:

#include <sys/iofunc.h>

int iofunc_close_dup( resmgr_context_t* ctp,
                      io_close_t* msg,
                      iofunc_ocb_t* ocb,
                      iofunc_attr_t* attr );

Library:

libc

Description:

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.

Returns:

EOK
Success.
Anything else
An error occurred.

Classification:

QNX 6

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

iofunc_close_dup_default(), iofunc_close_ocb()


[Previous] [Contents] [Next]