Back to index

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

Go to the source code of this file.

Functions

wint_t putwc (wchar_t wc, _IO_FILE *fp)

Function Documentation

wint_t putwc ( wchar_t  wc,
_IO_FILE fp 
)

Definition at line 24 of file putwc.c.

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