Messages in this thread |  | | | Date | Tue, 19 May 2009 12:57:21 -0400 (EDT) | | From | Alan Stern <> | | Subject | How 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
|  |