main returns with 0

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ppx on Mon Jan 06 05:21:27 MST 2014
I have downloaded from LPCopen an example for interrupt driven routines using the built in ROM functions for LPC812. It is called "nxp_lpcxpresso_812_periph_uart_rom_int"
I was very surprised to see that the main ends with a return 0;
Is this an error or is the program designed to run once and than crash?