pussuw commented on PR #6197:
URL: https://github.com/apache/incubator-nuttx/pull/6197#issuecomment-1133591309
But why not enable the compile of lib_exit? Well I can of course do that,
just need to omit the call to the exit functions. So if this is OK to you I can
do it like this:
```
void exit(int status)
{
#if 0 /* REVISIT: Enable this when kernel side atexit/on_exit is removed */
atexit_call_exitfuncs(status);
#endif
/* Call nx_exit() which will do the rest of the clean up and exit */
nx_exit(status);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]