diff options
author | sin <sin@2f30.org> | 2014-11-11 18:29:11 +0000 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-11-19 18:52:42 +0100 |
commit | 4418939dd9f3a7b3cfd3071234ed18ae86538f2a (patch) | |
tree | 69d883225303d156e0afcacd96b12612d55d57c8 /FAQ | |
parent | bafbba56cd5735c680676db2adf6f614ba61356f (diff) | |
download | st-4418939dd9f3a7b3cfd3071234ed18ae86538f2a.tar.gz st-4418939dd9f3a7b3cfd3071234ed18ae86538f2a.tar.bz2 |
Call _exit() instead of exit() if exec*() fails
exit() will also unwind the atexit() functions. This is bad
because if exec*() fails the process is in an inconsistent state.
Diffstat (limited to 'FAQ')
0 files changed, 0 insertions, 0 deletions