#include <oskit/c/fd.h>oskit_error_t fd_set_console(void);
This function initializes file descriptors number 0, 1, and 2 such that read and write calls on them will work and result in calls to getchar and putchar.
Returns zero if successful, an error code otherwise.