Back to index

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

Go to the source code of this file.

Functions

int _IO_peekc_locked (_IO_FILE *fp)

Function Documentation

Definition at line 34 of file peekc.c.

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