This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: function reference from standard library


In a message dated 13-Okt-98 16:16:20
   Art Berggreen <art@acc.com> wrote:

>Functions returning void are definitely legal.

 Definetly. But the whole thing was abot *main()*

 int
 main(...) {
   ...
   return RETURN_SUCCESS;
 } 

 Anything else has many times been said to be a source of "undefined
behaviour".
                ,-.
   ,-.         /   \
  /   \       /     \
 /Hannu E K Nevalainen     ,-.
' www.it.kth.se/~henk \   /   `-*                 _ // 1985+
         `-' Nynäshamn `-'  17°56.5'E, 58°54.4'N  \X/Amiga user
Personal rc5-stats: 9,613 2^28-key blks, i.e. 2,580,470+ Mkeys, M68K Amiga.
--
Internet acronyms: TLA       Three letter acronym (also FLA -> Four...)

________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.