[lkml]   [2006]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Quick close of all the open files.
"vamsi krishna" <> writes:

>> For bonus points, how did you verify that all the open files were closed?
> I checked as follows I did printf("lowest fd = %d",fileno(tmpfile()));
> it prints 3

That is proof that at least stdout is still open, or you would not see
the output.

Måns Rullgård

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-07 00:42    [W:0.058 / U:0.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site