core/vpl/vpl_fdopen.cxx

Go to the documentation of this file.
00001 // This is core/vpl/vpl_fdopen.cxx
00002 #include "vpl_fdopen.h"
00003 #include <vcl_cstdio.h>
00004 
00005 #if defined(VCL_COMO)
00006 extern "C" FILE *fdopen(int, char const *);
00007 #endif
00008 
00009 vcl_FILE *vpl_fdopen(int fd, char const *mode)
00010 {
00011 #if defined(VCL_BORLAND_55)
00012   return fdopen(fd, const_cast<char*>(mode));
00013 #elif defined(VCL_BORLAND_56)
00014   return std::fdopen(fd, const_cast<char*>(mode));
00015 #else
00016   return fdopen(fd, mode);
00017 #endif
00018 }

Generated on Sun Sep 7 05:08:54 2008 for core/vpl by  doxygen 1.5.1