File Descriptors in QNX6

I need find the file descriptors opened by a process. With ‘sin’
utility I can see the list of fds of a process (sin -Pprocess fd).
But I need make it in a program. In QNX4 had a qnx_fd_query(), but
this function no exist anymore in QNX6. Some people said me to use
ConnectServer or iofdinfo, this not working for find information of
file descriptors.

Please Help!!!

Hello, orivas!

o> I need find the file descriptors opened by a process. With ‘sin’
o> utility I can see the list of fds of a process (sin -Pprocess fd).
o> But I need make it in a program. In QNX4 had a qnx_fd_query(), but
o> this function no exist anymore in QNX6. Some people said me to use
o> ConnectServer or iofdinfo, this not working for find information of
o> file descriptors.

Check that: ftp://ftp.qnxclub.net/pub/projects/fdl/fdl.tgz

With best regards, Mike Gorchak. E-mail: mike@malva.com.ua

It’s in the proc filesystem. Look into procfs.h and related headers. Or use
spin utility (search the groups).

“orivas” <sirrio@sidor-dot-com.no-spam.invalid> wrote in message
news:dr9310$qbu$1@inn.qnx.com

I need find the file descriptors opened by a process. With ‘sin’
utility I can see the list of fds of a process (sin -Pprocess fd).
But I need make it in a program. In QNX4 had a qnx_fd_query(), but
this function no exist anymore in QNX6. Some people said me to use
ConnectServer or iofdinfo, this not working for find information of
file descriptors.

Please Help!!!