#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include "fcntl-wrappers.h"
#include "getopt-wrapper.h"
#include "signal-wrappers.h"
#include "unistd-wrappers.h"
#include "wait-wrappers.h"
#include "display-available.h"
#include "options.h"
#include "shared-fcns.h"
Go to the source code of this file.
Macros | |
#define | OCTAVE_API |
#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) |
static void | gui_driver_set_signal_handler (const char *signame, octave_sig_handler *handler) |
static void | gui_driver_sig_handler (int sig) |
static void | install_signal_handlers (void) |
int | main (int argc, char **argv) |
static int | octave_exec (const std::string &file, char **argv) |
static char * | strsave (const char *s) |
Variables | |
static int | caught_signal = -1 |
static bool | fork_and_exec = false |
static pid_t | gui_pid = 0 |
#define OCTAVE_API |
Definition at line 55 of file main.in.cc.
#define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% |
Definition at line 67 of file main.in.cc.
#define OCTAVE_BINDIR %OCTAVE_BINDIR% |
Definition at line 71 of file main.in.cc.
#define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% |
Definition at line 79 of file main.in.cc.
#define OCTAVE_PREFIX %OCTAVE_PREFIX% |
Definition at line 75 of file main.in.cc.
#define OCTAVE_VERSION %OCTAVE_VERSION% |
Definition at line 63 of file main.in.cc.
|
static |
Definition at line 186 of file main.in.cc.
References OCTAVE_ARCHLIBDIR, octave_getenv(), and prepend_octave_exec_home().
Referenced by main().
|
static |
Definition at line 172 of file main.in.cc.
References OCTAVE_BINDIR, octave_getenv(), and prepend_octave_exec_home().
Referenced by main().
|
static |
Definition at line 107 of file main.in.cc.
References octave_set_signal_handler_by_name().
Referenced by install_signal_handlers().
|
static |
Definition at line 100 of file main.in.cc.
References caught_signal, and gui_pid.
Referenced by install_signal_handlers().
|
static |
Definition at line 114 of file main.in.cc.
References gui_driver_set_signal_handler(), and gui_driver_sig_handler().
Referenced by interpreter::interpreter(), and main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 245 of file main.in.cc.
References caught_signal, dir_sep_char, display_available(), EVAL_OPTION, EXPERIMENTAL_TERMINAL_WIDGET_OPTION, fork_and_exec, get_octave_archlibdir(), get_octave_bindir(), GUI_OPTION, gui_pid, install_signal_handlers(), long_opts, NO_GUI_LIBS_OPTION, NO_GUI_OPTION, octave_block_async_signals(), octave_block_signal_by_name(), octave_exec(), octave_fork_wrapper(), octave_getopt_long_wrapper(), octave_kill_wrapper(), octave_optind_wrapper(), octave_set_opterr_wrapper(), octave_setsid_wrapper(), octave_unblock_async_signals(), octave_unblock_signal_by_name(), OCTAVE_VERSION, octave_waitpid_wrapper(), octave_wexitstatus_wrapper(), octave_wifexited_wrapper(), octave_wifsignaled_wrapper(), octave_wtermsig_wrapper(), PERSIST_OPTION, SERVER_OPTION, set_octave_home(), short_opts, and strsave().
|
static |
|
static |
Definition at line 214 of file main.in.cc.
Referenced by time::time(), string_vector::c_str_vec(), env::do_set_program_name(), strptime::init(), keyword_almost_match(), main(), base_tm::strftime(), and JVMArgs::update().
|
static |
Definition at line 97 of file main.in.cc.
Referenced by gui_driver_sig_handler(), and main().
|
static |
Definition at line 89 of file main.in.cc.
Referenced by main().
|
static |
Definition at line 95 of file main.in.cc.
Referenced by gui_driver_sig_handler(), and main().