Back to index

glibc  2.9
Functions
iofputs_u.c File Reference
#include "libioP.h"
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Functions

int fputs_unlocked (char *str, _IO_FILE *fp) const

Function Documentation

int fputs_unlocked ( char *  str,
_IO_FILE fp 
) const

Definition at line 33 of file iofputs_u.c.

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

Here is the call graph for this function:

Here is the caller graph for this function: