<< Previous | Next >>

exit

void exit( int exitcode );

Description

Stops the program and returns exitcode to Dynamic C. Dynamic C uses values above 128 for run-time errors. When not debugging, exit will run an infinite loop, causing a watchdog timeout if the watchdog is enabled.

Parameters

exitcode
Error code passed by Dynamic C.

Library

SYS.LIB


Dynamic C Functions << Previous | Next >> rabbit.com