Back to index

glibc  2.9
Functions
__fpending.c File Reference
#include <stdio_ext.h>

Go to the source code of this file.

Functions

size_t __fpending (FILE *fp)

Function Documentation

size_t __fpending ( FILE fp)

Definition at line 22 of file __fpending.c.

{
  if (fp->_mode > 0)
    return fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base;
  else
    return fp->_IO_write_ptr - fp->_IO_write_base;
}

Here is the caller graph for this function: