[Previous] [Contents] [Next]

iofunc_pathconf()

Support pathconf() requests

Synopsis:

#include <sys/iofunc.h>

int iofunc_pathconf( resmgr_context_t *ctp,
                     io_pathconf_t *msg,
                     iofunc_ocb_t *ocb,
                     iofunc_attr_t *attr );

Library:

libc

Description:

The function iofunc_pathconf() does what's needed to support pathconf() with the mount and attr passed to it. Other fsys pathconf() requests need to be handled by the caller.

If you write your own pathconf callout for your resource manager, use the following macro to pass the requested value back to the caller:

_IO_SET_PATHCONF_VALUE( resmgr_context_t *ctp,
                        int value )

Returns:

EOK, or _RESMGR_DEFAULT if the function didn't handle the pathconf() request.

Classification:

QNX 6

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

See also:

iofunc_pathconf_default(), pathconf()


[Previous] [Contents] [Next]