Path: utzoo!mnetor!uunet!husc6!mailrus!ames!eos!labrea!polya!rokicki From: rokicki@polya.STANFORD.EDU (Tomas G. Rokicki) Newsgroups: comp.sys.amiga Subject: Re: Hidden printf/puts calls in c.lib functions? Message-ID: <2558@polya.STANFORD.EDU> Date: 4 Apr 88 05:29:07 GMT References: <4637@garfield.UUCP> <2673@s.cc.purdue.edu> Reply-To: rokicki@polya.UUCP (Tomas G. Rokicki) Organization: Stanford University Lines: 18 Keywords: printf puts Printf Puts ARP > I've only looked at a few Aztec C calls (getenv, setenv, and _main), but > a lot of them had printf's in them for error messages. I beg your pardon! I've looked at *all* of the Aztec C calls, and I don't believe I remember a single one with printf()'s in th. puts() yes, printf() no. One minor thing---(3.4b, anyway)---setenv by itself increases the size of your executable by 2372 bytes. main() { getenv(); setenv(); } weighs in at 4700 bytes; main() { getenv(); } weighs in at 2328 bytes. Not too surprising, as there has to be a copy of the environment library structure in there somewhere, but I think that still may be a bit larger than it could have been. -tom