Added declarations for Getc and Putc primitives