Mercurial > hg > Applications > mh
view sbr/peekc.c @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line source
/* peekc.c - peek at the next character in a stream */ #include "../h/mh.h" #include <stdio.h> int peekc(ib) register FILE *ib; { register int c; c = getc (ib); (void) ungetc (c, ib); return c; }