Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!ncar!husc6!bbn!bbn.com!mesard From: mesard@bbn.com (Wayne Mesard) Newsgroups: comp.unix.wizards Subject: Re: Getting the pathname from a FILE*. Message-ID: <27259@bbn.COM> Date: 21 Jul 88 14:08:30 GMT References: <49@minya.UUCP> Sender: news@bbn.COM Lines: 21 From article <49@minya.UUCP>, by jc@minya.UUCP (John Chambers): > There are lots of uses. Consider a problem I am having on a current > project: A program running on a Sun is running out of files. My code > opens maybe 6 or 8 files at the most. So where do the others come from? > Easy - they are opened by library subroutines. My code can't remember > the names of those files; my code didn't open them. This makes debugging > very difficult. This isn't by any chance a SunView program is it? Since SunView windows are actually devices, client programs access them via file descriptors. It's amazing how fast 4.2BSD's limit of 30 can get eaten up in a fair-sized [full-screen] application. -- unsigned *Wayne_Mesard(); MESARD@BBN.COM BBN, Cambridge, MA "When Martin Sheen visited me, he was smoking again after his heart attack, and I asked why. He said, 'It is my friend it is always there and doesn't pass judgment.' I said, 'Your friend is going to kill you.'" - Larry King