lkml.org 
[lkml]   [2000]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Wed, 18 Oct 2000, Alessandro Rubini wrote:

> + /* init_module has stdin/stdout/stderr open: close them (ARub) */
> + for (i=255; i>=0; i--)
> + if (current->files->fd[i])
> + close(i);
>

shouldn't this be exit_files() ?

see md.c for an example usage ...

thanks
john

--
"Mathemeticians stand on each other's shoulders while computer scientists
stand on each other's toes."
- Richard Hamming

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.051 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site