🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #700

gcc stack questions

#700
From: billy
Date: Tue, 22 Dec 1992 17:28
11 lines
851 bytes
 Good day,

	I'm using gcc on a sun4(4/75).
	I'd like to know how to determine the number of bytes passed to a 
function.  I've got a varargs function and would like to determine from 
within the function how many arguments were passed.  Also I'd be interested 
in any information on the call convention of gcc, i.e. what a argument stack 
looks like, what does gcc do with passed structures, what is the size limit 
of data passed on the stack.

	Thanks.
Technical Details
Message-ID: <1h7j7bINNvl@rave.larc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.larc.nasa.gov!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.larc.nasa.gov!news
From: billy@asal.larc.nasa.gov ()
Newsgroups: gnu.gcc.help
Subject: gcc stack questions
Date: 22 Dec 1992 17:28:11 GMT
Organization: NASA Langley Research Center, Hampton, VA  USA
Lines: 13
Distribution: world
Message-ID: <1h7j7bINNvl@rave.larc.nasa.gov>
Reply-To: ()
NNTP-Posting-Host: mac11.larc.nasa.gov
Keywords: gcc,stack