Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filename or full path from file descriptor or inode



...
The canonically correct way to do this would be to remember the names of the files you have opened at the time you opened them.


Alternately, you could use lsof, and it would report the files open (by name) by your process.


Thanks for this information, but I simplified the question. In reality its a Cocoa app that uses a lot of open source libraries, and so I'm trying to get the list of open files, so as to better understand who is doing what. Of course, if they are temp files, the names won't help much!

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >filename or full path from file descriptor or inode (From: David Hoerl <email@hidden>)
 >Re: filename or full path from file descriptor or inode (From: Terry Lambert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.