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