GNU Octave  4.0.0
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.in.cc File Reference
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "display-available.h"
#include "shared-fcns.h"
Include dependency graph for main.in.cc:

Go to the source code of this file.

Macros

#define OCTAVE_ARCHLIBDIR   %OCTAVE_ARCHLIBDIR%
 
#define OCTAVE_BINDIR   %OCTAVE_BINDIR%
 
#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 charstrsave (const char *s)
 

Macro Definition Documentation

#define OCTAVE_ARCHLIBDIR   %OCTAVE_ARCHLIBDIR%

Definition at line 50 of file main.in.cc.

Referenced by get_octave_archlibdir().

#define OCTAVE_BINDIR   %OCTAVE_BINDIR%

Definition at line 54 of file main.in.cc.

Referenced by get_octave_bindir().

#define OCTAVE_PREFIX   %OCTAVE_PREFIX%

Definition at line 58 of file main.in.cc.

#define OCTAVE_VERSION   %OCTAVE_VERSION%

Definition at line 46 of file main.in.cc.

Referenced by main().

Function Documentation

static std::string get_octave_archlibdir ( void  )
static

Definition at line 267 of file main.in.cc.

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

Referenced by main().

static std::string get_octave_bindir ( void  )
static

Definition at line 254 of file main.in.cc.

References OCTAVE_BINDIR, octave_getenv(), 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 399 of file main.in.cc.

Referenced by main().

static char* strsave ( const char s)
static

Definition at line 414 of file main.in.cc.

Referenced by main().