]> diplodocus.org Git - nmh/blob - docs/historical/SRI-NOSC/subs.dir/peekc.c
Remove the #ifdef UK for the default scan format
[nmh] / docs / historical / SRI-NOSC / subs.dir / peekc.c
1 #include "/rnd/borden/h/iobuf.h"
2
3 peekc(iob)
4 struct iobuf *iob;
5 {
6 register c;
7 register struct iobuf *p;
8
9 p = iob;
10 if((c = getc(p)) >= 0) {
11 p->b_nleft++;
12 p->b_nextp--;
13 }
14 return(c);
15 }