You might be able to pull such info out of /proc or whatever your OS-equivalent might be, but it's undoubtably easier to system or exec an external binary like fstat (BSD), fuser (Solaris), lsof (generic Unicies) ... I'm sure similar tools exist for other OSes.
--k.
In reply to Re: List who has a file open?
by Kanji
in thread List who has a file open?
by Marza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |