GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sysdep.h File Reference
#include "octave-config.h"
#include <cstdio>
#include <string>
#include "lo-ieee.h"
#include "lo-sysdep.h"
Include dependency graph for sysdep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OCTINTERP_API std::string get_P_tmpdir (void)
 
OCTINTERP_API int octave_kbhit (bool wait=true)
 
OCTINTERP_API int octave_pclose (FILE *f)
 
OCTINTERP_API FILE * octave_popen (const char *command, const char *mode)
 
OCTINTERP_API void raw_mode (bool, bool wait=true)
 
OCTINTERP_API bool same_file_internal (const std::string &, const std::string &)
 
OCTINTERP_API void set_application_id (void)
 
OCTINTERP_API void sysdep_cleanup (void)
 
OCTINTERP_API void sysdep_init (void)
 

Function Documentation

◆ get_P_tmpdir()

OCTINTERP_API std::string get_P_tmpdir ( void  )

Definition at line 574 of file sysdep.cc.

References octave::sys::env::getenv(), retval, and string.

◆ octave_kbhit()

OCTINTERP_API int octave_kbhit ( bool  wait = true)

◆ octave_pclose()

OCTINTERP_API int octave_pclose ( FILE *  f)

Definition at line 524 of file sysdep.cc.

References f.

Referenced by octave_procbuf::close().

◆ octave_popen()

OCTINTERP_API FILE* octave_popen ( const char *  command,
const char *  mode 
)

Definition at line 506 of file sysdep.cc.

References command, and mode.

Referenced by octave::gl2ps_print(), and octave_procbuf::open().

◆ raw_mode()

OCTINTERP_API void raw_mode ( bool  ,
bool  wait = true 
)

Definition at line 358 of file sysdep.cc.

References error(), octave_isatty_wrapper(), on, s, STDIN_FILENO, and warn_disabled_feature().

Referenced by octave_kbhit().

◆ same_file_internal()

OCTINTERP_API bool same_file_internal ( const std::string ,
const std::string  
)

Definition at line 255 of file sysdep.cc.

References octave::sys::base_file_stat::dev(), octave::sys::base_file_stat::ino(), and retval.

Referenced by same_file().

◆ set_application_id()

OCTINTERP_API void set_application_id ( void  )

Definition at line 175 of file sysdep.cc.

Referenced by octave::gui_application::execute().

◆ sysdep_cleanup()

OCTINTERP_API void sysdep_cleanup ( void  )

Definition at line 337 of file sysdep.cc.

Referenced by octave::my_friendly_exit().

◆ sysdep_init()

OCTINTERP_API void sysdep_init ( void  )

Definition at line 318 of file sysdep.cc.

Referenced by octave::gui_application::gui_application().