Loading...
Searching...
No Matches
Callback on exit of main()

Run a callback with the return value of main() More...

Detailed Description

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.
 

Function Documentation

◆ test_utils_main_exit_cb()

void test_utils_main_exit_cb ( int res)

Callback called after main() returned.

Note
Has to be implemented by the application.
Parameters
[in]resreturn value of main()