www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/02/21:14:45

Message-Id: <199808030113.CAA21029@sable.ox.ac.uk>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: brunobg AT geocities DOT com (Bruno Barberi Gnecco)
Date: Mon, 3 Aug 1998 02:12:55 +0000
MIME-Version: 1.0
Subject: Re: Using functions to make prog smaller.
Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk
CC: djgpp AT delorie DOT com

On  2 Aug 98 at 13:40, Bruno Barberi Gnecco wrote:

> Type this, outside main():
> 
> char **__crt0_glob_function(char *_argument) { }

This function must return something.  Return 0 (NULL) if you want to 
leave the parameters unexpanded.

> void   __crt0_setup_arguments(void) { }

Only include this if you're not using command line arguments at all.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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