Added support for standard libc I/O functions