26 #if ! defined (octave_sysdep_h)
27 #define octave_sysdep_h 1
29 #include "octave-config.h"
46 extern OCTINTERP_API
void raw_mode (
bool,
bool wait =
true);
48 extern OCTINTERP_API FILE *
popen (
const char *command,
const char *mode);
50 extern OCTINTERP_API
int pclose (FILE *
f);
52 extern OCTINTERP_API
int kbhit (
bool wait =
true);
62 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)
64 OCTAVE_DEPRECATED (5,
"use 'octave::sysdep_init' instead")
71 OCTAVE_DEPRECATED (5,
"use 'octave::set_application_id' instead")
78 OCTAVE_DEPRECATED (5,
"use 'octave::sysdep_cleanup' instead")
85 OCTAVE_DEPRECATED (5,
"use 'octave::raw_mode' instead")
92 OCTAVE_DEPRECATED (5,
"use 'octave::popen' instead")
94 octave_popen (const
char *command, const
char *mode)
99 OCTAVE_DEPRECATED (5,
"use 'octave::pclose' instead")
101 octave_pclose (FILE *
f)
106 OCTAVE_DEPRECATED (5,
"use 'octave::kbhit' instead")
108 octave_kbhit (
bool wait = true)
113 OCTAVE_DEPRECATED (5,
"use 'octave::get_P_tmpdir' instead")
120 OCTAVE_DEPRECATED (5,
"use 'octave::same_file_internal' instead")
F77_RET_T const F77_DBLE const F77_DBLE * f
void set_application_id(void)
bool drive_or_unc_share(const std::string &name)
static double f(double k, double l_nu, double c_pm)
bool same_file_internal(const std::string &file1, const std::string &file2)
FILE * popen(const char *command, const char *mode)
void sysdep_cleanup(void)
std::string get_P_tmpdir(void)
void raw_mode(bool on, bool wait)