delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/12/02:31:22

Message-ID: <35305DE9.4EC1@acadia.net>
Date: Sun, 12 Apr 1998 02:23:37 -0400
From: Scott Warner <swarnerx3 AT acadia DOT net>
MIME-Version: 1.0
To: Conrad Wei-Li Song <conradsong AT mail DOT utexas DOT edu>
CC: djgpp AT delorie DOT com
Subject: Re: startup functions on gnu c/c++?
References: <199804120455 DOT XAA18360 AT waller DOT net>

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019