On Wednesday, 2 April 2014 at 08:55:23 UTC, Russel Winder wrote:
The real signature of main in C/C++ is, I believe:

        int main(int, char**, char**)

I believe in C it is:

int main(void)
int main(int,char**)

or implementation defined (e.g. the third env pointer in the main signature from unix)

But the actual entry point is system dependent and can be specified as a link option? On linux "_start" or something like that.

Reply via email to