@node getc, stdio @findex getc @subheading Syntax @example #include int getc(FILE *file); @end example @subheading Description Get one character from @var{file}. @subheading Return Value The character ([0..255]) or @code{EOF} if eof or error. @subheading Portability @portability ansi, posix @subheading Example @example int c; while ((c=getc(stdin)) != EOF) putc(c, stdout); @end example