Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site oliveb.UUCP Path: utzoo!dciem!nrcaero!pesnta!hplabs!oliveb!long From: long@oliveb.UUCP (Dave Long) Newsgroups: net.lang.c Subject: Re: number of arguments function for 4.1bsd VAX cc(1) Message-ID: <278@oliveb.UUCP> Date: Sun, 24-Feb-85 17:47:30 EST Article-I.D.: oliveb.278 Posted: Sun Feb 24 17:47:30 1985 Date-Received: Wed, 27-Feb-85 02:14:17 EST References: Reply-To: long@oliveb.UUCP (Dave Long) Organization: D&L U., Thaumaturgy Lines: 14 Summary: It has been pointed correctly pointed out that this will work only as long as the arguments are smaller or equal to int/long size or are pointers. How- ever, it does allow one to see how large an array of ints has to be to hold all of the arguments without losing information. It is possible to see how many btyes the arguments take up by taking out the shift by -2. Perhaps I should have named it "sizeargs". -- gnoL evaD {msoft,allegra,gsgvax,fortune,hplabs,idi,ios, nwuxd,ihnp4,tolrnt,tty3b,vlsvax1,zehntel}!oliveb!long I'd rather be in a universe whose Creator had a bit more mechanical aptitude and a little less imagination.