CMS 3D CMS Logo

TempFile.h

Go to the documentation of this file.
00001 #ifndef CLASSLIB_SYSAPI_TEMP_FILE_H
00002 # define CLASSLIB_SYSAPI_TEMP_FILE_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include <cerrno>
00007 # ifdef _WIN32
00008 #  include <windows.h>
00009 #  include "classlib/sysapi/WindowsIO.h"
00010 # else
00011 #  include <unistd.h>
00012 #  include <sys/stat.h>
00013 #  include <fcntl.h>
00014 # endif
00015 # include <cstdio>
00016 
00017 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00018 
00019 #ifndef TMP_MAX
00020 # define TMP_MAX 16384
00021 #endif
00022 
00023 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00024 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00025 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00026 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00027 
00028 # if !HAVE_MKDTEMP || !HAVE_MKDTEMP_DECL
00029 extern "C" char *mkdtemp (char *path);
00030 # endif
00031 
00032 # if !HAVE_MKSTEMP || !HAVE_MKSTEMP_DECL
00033 extern "C" lat::IOFD mkstemp (char *path);
00034 # endif
00035 
00036 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00037 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00038 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00039 
00040 #endif // CLASSLIB_SYSAPI_TEMP_FILE_H

Generated on Tue Jun 9 17:38:52 2009 for CMSSW by  doxygen 1.5.4