X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fclosefds.c;h=8a4da4938229a96eef89e58b4f1ba33973dd4b58;hp=d292112a696af710bdbbb82645767d2626bc97ef;hb=b6d09bd20c57ba338690651d5922c724568bc7a0;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b diff --git a/sbr/closefds.c b/sbr/closefds.c index d292112..8a4da49 100644 --- a/sbr/closefds.c +++ b/sbr/closefds.c @@ -1,11 +1,10 @@ - /* - * closefds.c -- close-up fd's - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ +** closefds.c -- close-up fd's +** +** This code is Copyright (c) 2002, by the authors of nmh. See the +** COPYRIGHT file in the root directory of the nmh distribution for +** complete copyright information. +*/ #include @@ -13,8 +12,8 @@ void closefds(int i) { - int nbits = OPEN_MAX; + int nbits = OPEN_MAX; - for (; i < nbits; i++) - close (i); + for (; i < nbits; i++) + close(i); }