X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fclosefds.c;h=8a4da4938229a96eef89e58b4f1ba33973dd4b58;hp=86f91a7646ff366df2f6597ca3ccc3036b4b6dae;hb=b6d09bd20c57ba338690651d5922c724568bc7a0;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/sbr/closefds.c b/sbr/closefds.c index 86f91a7..8a4da49 100644 --- a/sbr/closefds.c +++ b/sbr/closefds.c @@ -1,9 +1,10 @@ - /* - * closefds.c -- close-up fd's - * - * $Id$ - */ +** 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 @@ -11,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); }