Back to index

glibc  2.9
Functions
getchar.c File Reference
#include "libioP.h"
#include "stdio.h"

Go to the source code of this file.

Functions

int getchar ()

Function Documentation

int getchar ( void  )

Definition at line 34 of file getchar.c.

{
  int result;
  _IO_acquire_lock (_IO_stdin);
  result = _IO_getc_unlocked (_IO_stdin);
  _IO_release_lock (_IO_stdin);
  return result;
}

Here is the caller graph for this function: