3 ms·
It is certainly possible to do this with C by editing a startup code. In embedded system, a source code of startup is provided and exposed by manufacturer's SDK
by kbumsik 8y ago
It is certainly possible to do this with C by editing a startup code. In embedded system, a source code of startup is provided and exposed by manufacturer's SDK so it is quite straightforward to do this.
Besides that, I can't see much difference between doing something before main() and just putting some code on the very top of main().