Search notes:

Windows CRT: crt0.c

Initializes the C Run-Time library and then calls either main(), wmain(), WinMain() or wWinMain().
crt0.c is included by wcrt0.c, wincrt0.c and wwincrt0.c.

TODO

__tmainCRTStartup() is defined in crt0.c.
In newer versions of Visual Studio, the role of this file seems to be in vcruntime/mcrtexe.cpp.

See also

wincrt0.c, wwincrt0.c
/usr/lib/crt1.o
Some CRT sources

Index