Using low-level functions when exploiting the C library

If you are using the libraries in an application that does not have a main() function, you must re-implement some functions in the library.


__rt_raise() is essential if you are using the heap.


If rand() is called, srand() must be called first. This is done automatically during library initialization but not when you avoid the library initialization.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0475C