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
Macros | Functions
main.cc File Reference
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include "fcntl-wrappers.h"
#include "signal-wrappers.h"
#include "strdup-wrapper.h"
#include "unistd-wrappers.h"
#include "wait-wrappers.h"
#include "display-available.h"
#include "shared-fcns.h"
Include dependency graph for main.cc:

Go to the source code of this file.

Macros

#define OCTAVE_ARCHLIBDIR   "/usr/local/libexec/octave/4.2.1/exec/x86_64-pc-linux-gnu"
 
#define OCTAVE_BINDIR   "/usr/local/bin"
 
#define OCTAVE_PREFIX   "/usr/local"
 
#define OCTAVE_VERSION   "4.2.1"
 

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)
 

Macro Definition Documentation

#define OCTAVE_ARCHLIBDIR   "/usr/local/libexec/octave/4.2.1/exec/x86_64-pc-linux-gnu"

Definition at line 53 of file main.cc.

Referenced by get_octave_archlibdir(), initialize(), and set_default_arch_lib_dir().

#define OCTAVE_BINDIR   "/usr/local/bin"

Definition at line 57 of file main.cc.

Referenced by get_octave_bindir(), initialize(), and set_default_bin_dir().

#define OCTAVE_PREFIX   "/usr/local"

Definition at line 61 of file main.cc.

Referenced by get_octave_home(), set_octave_home(), and subst_octave_home().

#define OCTAVE_VERSION   "4.2.1"

Function Documentation

static std::string get_octave_archlibdir ( void  )
static

Definition at line 159 of file main.cc.

References OCTAVE_ARCHLIBDIR, octave_getenv(), string, and subst_octave_home().

Referenced by main().

static std::string get_octave_bindir ( void  )
static

Definition at line 146 of file main.cc.

References OCTAVE_BINDIR, octave_getenv(), string, and subst_octave_home().

Referenced by main().

int main ( int  argc,
char **  argv 
)
static int octave_exec ( const std::string file,
char **  argv 
)
static

Definition at line 173 of file main.cc.

References argv, and octave_execv_wrapper().

Referenced by main().

static char* strsave ( const char *  s)
static