GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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

OCTINTERP_API std::string get_P_tmpdir ( void  )

Definition at line 580 of file sysdep.cc.

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

OCTINTERP_API int octave_kbhit ( bool  wait = true)

Definition at line 542 of file sysdep.cc.

References c, octave::ignore_interrupts(), raw_mode(), and octave::set_interrupt_handler().

OCTINTERP_API int octave_pclose ( FILE *  f)

Definition at line 530 of file sysdep.cc.

Referenced by octave_procbuf::close().

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

Definition at line 510 of file sysdep.cc.

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

OCTINTERP_API void raw_mode ( bool  ,
bool  wait = true 
)

Definition at line 367 of file sysdep.cc.

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

Referenced by octave_kbhit().

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

Definition at line 264 of file sysdep.cc.

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

Referenced by same_file().

OCTINTERP_API void set_application_id ( void  )

Definition at line 184 of file sysdep.cc.

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

OCTINTERP_API void sysdep_cleanup ( void  )

Definition at line 346 of file sysdep.cc.

Referenced by octave::my_friendly_exit().

OCTINTERP_API void sysdep_init ( void  )

Definition at line 327 of file sysdep.cc.