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:
The original
announcement and overview
Submission guidelines
Suggested
topics list
If you’d like to send us some suggestions or comments about
SourceLib (or anything else on LinuxProgramming.com, for that
matter), please feel free to e-mail me directly at the address
below.
Take care,
Lou Grinzo
Editor, LinuxProgramming.com
[email protected]