Logo Search packages:      
Sourcecode: console-tools version File versions

xfopen.c

#include <stdio.h>

FILE *xfopen (const char *path, const char *mode, FILE* minus_meaning)
{
  if (minus_meaning && path && (path[0] == '-') && (path[1] == 0))
      return minus_meaning;
      
  return fopen(path, mode);
}

Generated by  Doxygen 1.6.0   Back to index