Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!umd5!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: KSH portability Message-ID: <14339@brl-adm.ARPA> Date: 12 May 88 16:47:50 GMT Sender: news@brl-adm.ARPA Lines: 25 I wrote: What is really needed is an fd to fp table, maintained by stdio, so that: for (fd = 0; fd < MAXFD; fd ++) fp = fdtofp[fd] && fflush(fp); Anything weird about this idea? Pardon me while I go chant my mantra: OWAH TAGU SIAM What is *really* needed is an array of FILE**, maintained by stdio so that one could do: for (i = 0; i < FILEMAX; i++) if (FILES[i]) do_something_with(FILES[i]); There! I feel better now. Hope you do too. (Root Boy) Jim CottrellNational Bureau of Standards Flamer's Hotline: (301) 975-5688 The opinions expressed are solely my own and do not reflect NBS policy or agreement I'm having an emotional outburst!!