Exiting an app

I need to completely exit an application due to an error, what SDL (or C)
function should I use to make a clean exit?–
Roger D. Vargas
ICQ: 117641572
Linux User: 180787

I need to completely exit an application due to an error, what SDL (or C)
function should I use to make a clean exit?

SDL_Quit();
exit();

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment