Brandon Yates
Brandon Yates

Reputation: 2052

What cleanup routines run when I terminate a running Linux process with a break?

Do cleanup routines registered with atexit() run when the program is terminated by sending a break ( Ctrl+C )?

Upvotes: 2

Views: 177

Answers (1)

Teemu Ikonen
Teemu Ikonen

Reputation: 11929

No. You need to install handler for SIGINT signal.

Upvotes: 1

Related Questions