Back to index

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

Go to the source code of this file.

Functions

int fputws_unlocked (wchar_t *str, _IO_FILE *fp) const

Function Documentation

int fputws_unlocked ( wchar_t *  str,
_IO_FILE fp 
) const

Definition at line 33 of file iofputws_u.c.

{
  _IO_size_t len = __wcslen (str);
  int result = EOF;
  CHECK_FILE (fp, EOF);
  if (_IO_fwide (fp, 1) == 1
      && _IO_sputn (fp, (char *) str, len) == len)
    result = 1;
  return result;
}

Here is the call graph for this function:

Here is the caller graph for this function: