Messages in this thread | | | Date | Wed, 18 Oct 2000 18:43:39 +0100 (BST) | From | John Levon <> |
| |
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/
| |