Run a callback with the return value of main()
More...
Run a callback with the return value of main()
When the pseudomodule test_utils_main_exit_cb is used, Callback on exit of main() is called with the return value of main() after main() returned. The application has to implement the callback.
Files | |
| file | main_exit_cb.h |
| Callback on exit of main() | |
Functions | |
| void | test_utils_main_exit_cb (int res) |
Callback called after main() returned. | |
| void test_utils_main_exit_cb | ( | int | res | ) |
Callback called after main() returned.
| [in] | res | return value of main() |