libc: input/output functions; libquartus: basic output functionality, corrected wrong function name