GNU Octave  8.1.0
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 bool drive_or_unc_share (const std::string &)
 
OCTINTERP_API std::string get_P_tmpdir (void)
 
OCTINTERP_API int kbhit (bool wait=true)
 
OCTINTERP_API int pclose (FILE *f)
 
OCTINTERP_API FILE * 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

◆ drive_or_unc_share()

OCTINTERP_API bool drive_or_unc_share ( const std::string &  name)

Definition at line 460 of file sysdep.cc.

References len, and u8_to_wstring().

Referenced by symbol_exist().

◆ get_P_tmpdir()

OCTINTERP_API std::string get_P_tmpdir ( void  )

Definition at line 766 of file sysdep.cc.

Referenced by FP_tmpdir().

◆ kbhit()

OCTINTERP_API int kbhit ( bool  wait = true)

Definition at line 722 of file sysdep.cc.

References ignore_interrupts(), raw_mode(), and set_interrupt_handler().

Referenced by Fkbhit(), and sleep().

◆ pclose()

OCTINTERP_API int pclose ( FILE *  f)

Definition at line 711 of file sysdep.cc.

References f.

Referenced by procbuf::close(), and main().

◆ popen()

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

Definition at line 695 of file sysdep.cc.

References u8_to_wstring().

Referenced by main(), and procbuf::open().

◆ raw_mode()

OCTINTERP_API void raw_mode ( bool  on,
bool  wait = true 
)

◆ same_file_internal()

OCTINTERP_API bool same_file_internal ( const std::string &  file1,
const std::string &  file2 
)

Definition at line 385 of file sysdep.cc.

References u8_to_wstring().

Referenced by same_file().

◆ set_application_id()

OCTINTERP_API void set_application_id ( void  )

Definition at line 183 of file sysdep.cc.

Referenced by qt_application::execute().

◆ sysdep_cleanup()

OCTINTERP_API void sysdep_cleanup ( void  )

Definition at line 527 of file sysdep.cc.

Referenced by my_friendly_exit(), and interpreter::shutdown().

◆ sysdep_init()

OCTINTERP_API void sysdep_init ( void  )

Definition at line 509 of file sysdep.cc.

Referenced by qt_application::qt_application(), and application::init().