qnx_spawn to spawn

hi!
I am having huge trouble porting calls to QNX 4’s qnx_spawn to that of QNX
6.1’s spawn, especially in getting info about the struct ‘inheritance’ and
instructions on how to set the node descriptor and priority.
does anyone know about any documentation that can help me?
questions? comments? bad jokes?

thanks,
sanjeev