Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!crow.UUCP!rpaul From: rpaul@crow.UUCP (Rodian Paul) Newsgroups: comp.sys.sgi Subject: Re: R2000 stack alignment question Message-ID: <9105281723.AA11513@crow.omni.co> Date: 28 May 91 17:23:47 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 12 > After some hours of digging through assembly code I've finally found out > that varargs.h depends on the stack being aligned to an 8-byte boundary, > and the C compiler does its utmost to keep it like that (unlike me). > Don't use varargs(5) it is non-standard, use stdarg(5) instead if you want portabilty via ANSI C. ------------------------------------------------------------------------------- rpaul%crow@ccut.cc.u-tokyo.ac.jp phone: +81 (3) 5706-8357 ccut.cc.u-tokyo.ac.jp!crow!rpaul FAX: +81 (3) 5706-8437