Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined (octave_sysdep_h)
00024 #define octave_sysdep_h 1
00025
00026 #include <cstdio>
00027
00028 #include <string>
00029
00030 #include "lo-ieee.h"
00031 #include "lo-sysdep.h"
00032
00033 extern void sysdep_init (void);
00034
00035 extern void sysdep_cleanup (void);
00036
00037 extern OCTINTERP_API void raw_mode (bool, bool wait = true);
00038
00039 extern OCTINTERP_API FILE *octave_popen (const char *command, const char *mode);
00040 extern OCTINTERP_API int octave_pclose (FILE *f);
00041
00042 extern OCTINTERP_API int octave_kbhit (bool wait = true);
00043
00044 extern OCTINTERP_API std::string get_P_tmpdir (void);
00045
00046 extern void w32_set_quiet_shutdown (void);
00047
00048 #if defined (__WIN32__) && ! defined (_POSIX_VERSION)
00049 extern void MINGW_signal_cleanup (void);
00050 #define USE_W32_SIGINT 1
00051 #define MINGW_SIGNAL_CLEANUP() MINGW_signal_cleanup ()
00052 #else
00053 #define MINGW_SIGNAL_CLEANUP() do { } while (0)
00054 #endif
00055
00056 extern OCTINTERP_API bool same_file_internal (const std::string&, const std::string&);
00057
00058 #endif