Annotation of 43BSD/contrib/mh/sbr/peekc.c, revision 1.1.1.1

1.1       root        1: /* peekc.c - peek at the next character in a stream */
                      2: 
                      3: #include "../h/mh.h"
                      4: #include <stdio.h>
                      5: 
                      6: 
                      7: int    peekc(ib)
                      8: register FILE *ib;
                      9: {
                     10:     register int    c;
                     11: 
                     12:     c = getc (ib);
                     13:     (void) ungetc (c, ib);
                     14: 
                     15:     return c;
                     16: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.