Message-ID: <35305DE9.4EC1@acadia.net> Date: Sun, 12 Apr 1998 02:23:37 -0400 From: Scott Warner MIME-Version: 1.0 To: Conrad Wei-Li Song CC: djgpp AT delorie DOT com Subject: Re: startup functions on gnu c/c++? References: <199804120455 DOT XAA18360 AT waller DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Conrad Wei-Li Song wrote: > > Quicky question: > > How to I define functions to be called on program startup before main is > called? > Thanks. I don't think you can. main() is always the first function called. Why would you want to do such a thing?