Table 6 Character I/O Functions in <stdio.h>

Single-character Processing Functions
-------------------------------------
getchar      (standard input)

getc         (file input)

ungetc       (affects file input)

fgetc        (file input)

putchar      (standard output)

putc         (file output)

fputc        (file output)

    String Processing Functions
-------------------------------------
gets         (standard input)

fgets        (file input)

puts         (standard output)

fputs        (file output)