Back to index

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

Go to the source code of this file.

Functions

int _IO_getc (FILE *fp)

Function Documentation

int _IO_getc ( FILE fp)

Definition at line 35 of file getc.c.

{
  int result;
  CHECK_FILE (fp, EOF);
  _IO_acquire_lock (fp);
  result = _IO_getc_unlocked (fp);
  _IO_release_lock (fp);
  return result;
}