Back to index

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

Go to the source code of this file.

Functions

int __freading (FILE *fp)

Function Documentation

int __freading ( FILE fp)

Definition at line 22 of file __freading.c.

{
  return ((fp->_flags & _IO_NO_WRITES)
         || ((fp->_flags & (_IO_CURRENTLY_PUTTING | _IO_NO_READS)) == 0
             && fp->_IO_read_base != NULL));
}

Here is the caller graph for this function: