|
Zth (libzth)
|
Go to the source code of this file.
Functions | |
| int | main_fiber (int argc, char **argv) |
| void | zth_preinit () |
Initialization function to be called by the default-supplied main(), before doing anything else. More... | |
| int | zth_postdeinit () |
Initialization function to be called by the default-supplied main(), just before shutting down. More... | |
| int | main (int argc, char **argv) |
| int zth_postdeinit | ( | ) |
Initialization function to be called by the default-supplied main(), just before shutting down.
This function can be used to run machine/board-specific cleanup in main() before returning. The default (weak) implementation does nothing.
main_fiber() when non-zero | void zth_preinit | ( | ) |
Initialization function to be called by the default-supplied main(), before doing anything else.
This function can be used to run machine/board-specific initialization in main() even before zth_init() is invoked. The default (weak) implementation does nothing.