e9ef70e24b
POSIX dictates that assert() terminates via abort(), even though in NuttX abort() just calls exit(EXIT_FAILURE) it is better to use the correct API here, if at some point a proper implementation for abort() is made. Also, as the kernel must not use abort() which is a userspace API, direct the exit to PANIC() if for some reason _assert() returns (it should not but trap it here just in case). |
||
---|---|---|
.. | ||
lib_assert.c | ||
lib_stackchk.c | ||
Make.defs |