getting file descriptor in IO_OPEN-Function

Hallo,

I need the file descriptor in the open handler function.

int io_open (resmgr_context_t *ctp, io_open_t *msg, RESMGR_HANDLE_T *handle, void *extra)
{

}

It is possible? If it so, in which structure can I found it? I’m not really sure that qnx create a file descriptor before the resource manager and open handler function are called.

I need the qnx file descriptor for identify correspondent open and read/write messages? If there a better way? (over the OCB struct?)

Thank you
Andreas

Problem solved!!

I’ve found a solution for my problem. I extended the ocb struct.

:smiley:

Andreas