Back to index

glibc  2.9
Functions
getwc.c File Reference
#include "libioP.h"
#include <stdio.h>
#include <wchar.h>

Go to the source code of this file.

Functions

wint_t _IO_getwc (FILE *fp)

Function Documentation

wint_t _IO_getwc ( FILE fp)

Definition at line 36 of file getwc.c.

{
  wint_t result;
  CHECK_FILE (fp, WEOF);
  _IO_acquire_lock (fp);
  result = _IO_getwc_unlocked (fp);
  _IO_release_lock (fp);
  return result;
}