Re: How to get the list of all my open file(descriptor)s and locks?
On Wed, Sep 19, 2012 at 2:36 PM, Ismael Farfán <firstname.lastname@example.org> wrote:
> It seems like I can use os.fstat to find out if a fd exists and also
> get it's type and mode (I'm getting some pipes too : )
Sure, because files and pipes both use the file descriptor
abstraction. If your process does any networking, you'll find sockets
in there as well.
|All times are GMT. The time now is 02:12 AM.|
SEO by vBSEO ©2010, Crawlability, Inc.