source:
trunk/third/nmh/sbr/closefds.c
@
12455
Revision 12455, 214 bytes checked in by danw, 26 years ago (diff) |
---|
Line | |
---|---|
1 | |
2 | /* |
3 | * closefds.c -- close-up fd's |
4 | * |
5 | * $Id: closefds.c,v 1.1.1.1 1999-02-07 18:14:07 danw Exp $ |
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 | } |
Note: See TracBrowser
for help on using the repository browser.