#include <oskit/clientos.h>oskit_error_t oskit_clientos_init(void);
oskit_error_t oskit_clientos_init_pthreads(void);
Initialize the Client Operating System library. This routine must be called immediately in the application's main program. In multi threaded applications, use the oskit_clientos_init_pthreads interface instead. As an example, consider the trivial ``Hello World'' program:void main() { oskit_clientos_init(); printf("Hello, World\n"); }
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.
Several convenience functions are exported from the clientos library that make it easy to initialize the oskit_libcenv object as the application continues to initialize devices and interfaces. They are: