core
vpl
vpl_fileno.cxx
Go to the documentation of this file.
1
// This is core/vpl/vpl_fileno.cxx
2
#include "
vpl_fileno.h
"
3
4
int
vpl_fileno
(std::FILE *fp)
5
{
6
#if defined(_WIN32) && !defined(__CYGWIN__)
7
return
_fileno(fp);
8
#else
9
return
fileno(fp);
10
#endif
11
}
vpl_fileno
int vpl_fileno(std::FILE *fp)
Return the file descriptor (int) of an open file stream (FILE *).
Definition:
vpl_fileno.cxx:4
vpl_fileno.h
Generated by
1.8.15