Startup Library
The startup library contains a rich set of routines ranging from high-level functions called by main() to utility functions for performing specific startup tasks.
Examples of utility functions include ones that support interrogating the hardware, initializing the system page, loading the next process in the image, and switching to protected mode.
BlackBerry QNX provides the source code for all startup library functions, so you can make minor modifications and save them in your target startup directory.
The following functions reside in the C library (with their prototypes in <hw/sysinfo.h>), but are usable from startup programs:
These functions are in the C Library because they are useful to code that needs to access the hwinfo section of the system page, as well as to the startup code that populates this section with information about the hardware on the system.