[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.021 / U:76.284 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site