Implement getc replacement
Implement vprintf replacement