The "exits" code sample has been added to SourceLib:
Name: exits Category:Basics Purpose: Demonstrate the exit(), _exit(), and
abort() functions as ways to terminate a process, as well as the
atexit() function, which registers routines to be called upon
program termination. Keywords: C atexit exit _exit abort
If you'd like to learn more about SourceLib or contribute to it,
see the following resources:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.