head 1.3; access; symbols; locks; strict; comment @ * @; 1.3 date 92.12.15.00.20.22; author jromine; state Exp; branches; next 1.2; 1.2 date 92.12.14.17.47.34; author jromine; state Exp; branches; next 1.1; 1.1 date 92.12.14.17.44.38; author jromine; state Exp; branches; next ; desc @@ 1.3 log @endif sugar @ text @/* closefds.c - close-up fd:s */ #ifndef lint static char ident[] = "@@(#)$Id: closefds.c,v 1.2 1992/12/14 17:47:34 jromine Exp jromine $"; #endif /* lint */ #include "../h/mh.h" #ifndef BSD42 #include #endif /* not BSD42 */ void closefds (i) register int i; { #ifndef BSD42 int nbits = _NFILE; #else /* BSD42 */ int nbits = getdtablesize (); #endif /* BSD42 */ for (; i < nbits; i++) #ifdef OVERHEAD if (i != fd_def && i != fd_ctx) #endif /* OVERHEAD */ (void) close (i); } @ 1.2 log @add id @ text @d3 1 a3 1 static char ident[] = "@@(#)$Id: pidwait.c,v 1.9 1992/12/14 17:10:58 jromine Exp $"; d9 1 a9 1 #endif not BSD42 d17 1 a17 1 #else BSD42 d19 1 a19 1 #endif BSD42 d24 1 a24 1 #endif OVERHEAD @ 1.1 log @Initial revision @ text @d2 3 @