On Mon, Nov 12, 2007 at 11:33:38AM -0800, Yuri wrote:
>I am looking for functionality similar to Linux's /proc/<PID>/fd/<FD>.
>I need to know what is the file name of an open file descriptor.

Note that there is not necessarily a unique (or any) filename
associated with a file descriptor.  This is an inherent part of the
Unix approach to files.

You could look at ports/sysutils/lsof or fstat(1).

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an RFC2821-compliant MTA.

Attachment: pgpQPdPjDBoxX.pgp
Description: PGP signature

Reply via email to