Back to index

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

Go to the source code of this file.

Functions

size_t __fbufsize (FILE *fp)

Function Documentation

size_t __fbufsize ( FILE fp)

Definition at line 22 of file __fbufsize.c.

{
  if (fp->_mode > 0)
    return fp->_wide_data->_IO_buf_end - fp->_wide_data->_IO_buf_base;
  else
    return fp->_IO_buf_end - fp->_IO_buf_base;
}

Here is the caller graph for this function: