Back to index

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

Go to the source code of this file.

Functions

wint_t fputwc (wchar_t wc, _IO_FILE *fp)

Function Documentation

wint_t fputwc ( wchar_t  wc,
_IO_FILE fp 
)

Definition at line 32 of file fputwc.c.

{
  wint_t result;
  CHECK_FILE (fp, EOF);
  _IO_acquire_lock (fp);
  if (_IO_fwide (fp, 1) < 0)
    result = WEOF;
  else
    result = _IO_putwc_unlocked (wc, fp);
  _IO_release_lock (fp);
  return result;
}

Here is the call graph for this function:

Here is the caller graph for this function: