lkml.org 
[lkml]   [2009]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow to tell whether a struct file is held by a process?
What's the best way to tell whether the current process has a
particular struct file among its open files? Is there any better way
to find out than blindly calling fget() for each possible fd?

Is this a totally insane thing to do?

Alan Stern



\
 
 \ /
  Last update: 2009-05-19 19:01    [from the cache]
©2003-2011 Jasper Spaans