test getc putc