6v6gt:
For those interested, and did not already know, here is the Arduino main() function where both setup() and loop() are defined:https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/main.cpp
I got a 404 error with that link.