#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include "fcntl-wrappers.h"
#include "signal-wrappers.h"
#include "unistd-wrappers.h"
#include "wait-wrappers.h"
#include "display-available.h"
#include "shared-fcns.h"
Go to the source code of this file.
Macros | |
#define | OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% |
#define | OCTAVE_BINDIR %OCTAVE_BINDIR% |
#define | OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% |
#define | OCTAVE_PREFIX %OCTAVE_PREFIX% |
#define | OCTAVE_VERSION %OCTAVE_VERSION% |
Functions | |
static std::string | get_octave_archlibdir (void) |
static std::string | get_octave_bindir (void) |
int | main (int argc, char **argv) |
static int | octave_exec (const std::string &file, char **argv) |
static char * | strsave (const char *s) |
#define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% |
Definition at line 52 of file main.in.cc.
Referenced by get_octave_archlibdir(), init_defaults(), and initialize().
#define OCTAVE_BINDIR %OCTAVE_BINDIR% |
Definition at line 56 of file main.in.cc.
Referenced by get_octave_bindir(), init_defaults(), and initialize().
#define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% |
Definition at line 64 of file main.in.cc.
Referenced by set_octave_home().
#define OCTAVE_PREFIX %OCTAVE_PREFIX% |
Definition at line 60 of file main.in.cc.
Referenced by set_octave_home().
#define OCTAVE_VERSION %OCTAVE_VERSION% |
Definition at line 48 of file main.in.cc.
Referenced by default_history_timestamp_format(), default_save_header_format(), initialize(), main(), octave::main_window::main_window(), octave_name_version_and_copyright(), octave::file_editor_tab::update_lexer_settings(), and write_header().
|
static |
Definition at line 166 of file main.in.cc.
References OCTAVE_ARCHLIBDIR, octave_getenv(), prepend_octave_exec_home(), and string.
Referenced by main().
|
static |
Definition at line 153 of file main.in.cc.
References OCTAVE_BINDIR, octave_getenv(), prepend_octave_exec_home(), and string.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 202 of file main.in.cc.
References argc, argv, dir_sep_char, display_available(), file, get_octave_archlibdir(), get_octave_bindir(), i, octave::install_signal_handlers(), k, octave_block_async_signals(), octave_exec(), octave_fork_wrapper(), octave_kill_wrapper(), octave_setsid_wrapper(), octave_unblock_async_signals(), OCTAVE_VERSION, octave_waitpid_wrapper(), octave_wexitstatus_wrapper(), octave_wifexited_wrapper(), octave_wifsignaled_wrapper(), octave_wtermsig_wrapper(), retval, set_octave_home(), octave::string::strcmp(), string, strlen(), and strsave().
|
static |
Definition at line 180 of file main.in.cc.
References argv, file, and octave_execv_wrapper().
Referenced by main().
|
static |
Definition at line 190 of file main.in.cc.
References s, strlen(), and tmp.
Referenced by string_vector::c_str_vec(), octave::sys::env::do_set_program_name(), octave::sys::strptime::init(), keyword_almost_match(), main(), octave::sys::base_tm::strftime(), octave::sys::time::time(), and octave::JVMArgs::update().