...
| Code Block |
|---|
void _start() {
/* ... */
exit(main(argc, argv));
}
|
However, making it out of main is conditional on correctly handling all errors in a way that does not force premature termination (see \[[ERR00-A. Adopt and implement a consistent and comprehensive error handling policy]\] and \[[ERR05-A. Application-independent code must provide error detection without dictating error handling]\]).Wiki Markup
_Exit()
A more abrupt function, _Exit() also takes one argument and never returns. The standard specifies that _Exit() also closes open file descriptors, but does not specify if _Exit() flushes file buffers or deletes temporary files. Functions registered by atexit() are not executed.
...