Annotation of 43BSD/lib/libc/stdio/getchar.c, revision 1.1

1.1     ! root        1: #if defined(LIBC_SCCS) && !defined(lint)
        !             2: static char sccsid[] = "@(#)getchar.c  5.2 (Berkeley) 3/9/86";
        !             3: #endif LIBC_SCCS and not lint
        !             4: 
        !             5: /*
        !             6:  * A subroutine version of the macro getchar.
        !             7:  */
        !             8: #include <stdio.h>
        !             9: 
        !            10: #undef getchar
        !            11: 
        !            12: getchar()
        !            13: {
        !            14:        return(getc(stdin));
        !            15: }

unix.superglobalmegacorp.com

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