]> diplodocus.org Git - nmh/blob - sbr/closefds.c
Just reworded the bit about '%s' being safe not to quote (it's only safe not to
[nmh] / sbr / closefds.c
1
2 /*
3 * closefds.c -- close-up fd's
4 *
5 * $Id$
6 */
7
8 #include <h/mh.h>
9
10
11 void
12 closefds(int i)
13 {
14 int nbits = OPEN_MAX;
15
16 for (; i < nbits; i++)
17 close (i);
18 }