Skip navigation.
Home
The QNX Community Portal

View topic - How toknow FDs of a process in QNX6?

How toknow FDs of a process in QNX6?

Read-only archive of qnx.porting (Discuss migrating applications from QNX4, VxWorks, PSOS, or Linux to QNX Neutrino) at inn.qnx.com

How toknow FDs of a process in QNX6?

Postby orivas » Tue Jan 10, 2006 3:55 pm

I need to know FDs of a process en QNX6, in QNX4 I used qnx_fd_query() function but this function no exist in QNX6. In Linux, the FDs are in /proc/<pid>/fd/, but anyone know how i can find de FDs in QNX6?
orivas
New Member
 
Posts: 4
Joined: Wed Nov 30, 2005 3:45 pm

Re: How toknow FDs of a process in QNX6?

Postby John Garvey » Tue Jan 10, 2006 5:01 pm

orivas wrote:
I need to know FDs of a process en QNX6, in QNX4 I used qnx_fd_query()
function but this function no exist in QNX6.

Refer to "ConnectServerInfo()" function in Helpviewer ...
John Garvey
 

RE: Re: How toknow FDs of a process in QNX6?

Postby Dheerajs » Tue Feb 14, 2006 10:02 am

will pidin utility help to get fd!!!
Dheerajs
Active Member
 
Posts: 91
Joined: Mon Jan 31, 2005 8:50 am
Location: Germany

Re: How toknow FDs of a process in QNX6?

Postby Steve Reid » Tue Feb 14, 2006 3:03 pm

Dheerajs <dheeraj_rathor@yahoo-dot-com.no-spam.invalid> wrote:
will pidin utility help to get fd!!!

The version in the next release does:

pidin fds
Show information about the process's file descriptors. If you don't have
permission to access a process's file descriptors, pidin provides only
limited information.


------------------------------------------
Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems
------------------------------------------
Steve Reid
 


Return to qnx.porting

Who is online

Users browsing this forum: No registered users and 1 guest