[Previous] [Contents] [Next]

iofunc_fdinfo()

Handle an _IO_FDINFO message

Synopsis:

#include <sys/iofunc.h>

int iofunc_fdinfo( resmgr_context_t * ctp, 
                   iofunc_ocb_t * ocb,
                   iofunc_attr_t * attr,
                   struct _fdinfo * info );

Library:

libc

Description:

The iofunc_fdinfo() function provides the implementation for the client's iofdinfo() call, which is received as an _IO_FDINFO message by the resource manager.

The iofunc_fdinfo() function transfers the appropriate fields from the ocb and attr structures to the info structure. If attr is NULL, then the attr information comes from the structure pointed to by ocb->attr.

Returns:

EOK
Successful completion.

Classification:

QNX 6

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

See also:

iofdinfo(), iofunc_fdinfo_default(), resmgr_pathname()


[Previous] [Contents] [Next]