# 2.11BSD#431 - /usr/src/lib/libc/stdio/getchar.c

##### Functions

    getchar           X

##### Macros

    USE_STDIO_MACROS  X

       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: #define USE_STDIO_MACROS
       9: #include <stdio.h>
      10:
      11: #undef getchar
      12:
      13: getchar()
      14: {
      15:     return(getc(stdin));
      16: }

#### Defined functions

getchar defined in line 13; used 14 times

- in /usr/ingres/source/monitor/mac.c line 1779
- in /usr/src/games/adventure/hdr.h line 27
- in /usr/src/games/adventure/wizard.c line 75
- in /usr/src/games/bcd.c line 83
- in /usr/src/games/monop/execute.c line 131, 177
- in /usr/src/games/monop/misc.c line 79
- in /usr/src/games/monop/monop.c line 53
- in /usr/src/ucb/PORT/pascal/pdx/process/resume.c line 174, 181
- in /usr/src/ucb/vgrind/retest.c line 52-56(2)
- in /usr/src/usr.bin/lint/lpass2.c line 638
- in /usr/src/usr.lib/libcurses/getch.c line 33

#### Defined variables

sccsid defined in line 2; never used

#### Defined macros

USE_STDIO_MACROS defined in line 8; never used

Last modified: 1987-02-24 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 364 |