X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Fclosefds.c;fp=sbr%2Fclosefds.c;h=0000000000000000000000000000000000000000;hb=5f08476e3bc5c134ce57d924b01d1c1fcacd53db;hp=8a4da4938229a96eef89e58b4f1ba33973dd4b58;hpb=c490c51b3c0f8871b6953bd0c74551404f840a74;p=mmh diff --git a/sbr/closefds.c b/sbr/closefds.c deleted file mode 100644 index 8a4da49..0000000 --- a/sbr/closefds.c +++ /dev/null @@ -1,19 +0,0 @@ -/* -** 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 - - -void -closefds(int i) -{ - int nbits = OPEN_MAX; - - for (; i < nbits; i++) - close(i); -}