GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
main.in.cc File Reference
#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"
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_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)
 

Macro Definition Documentation

◆ OCTAVE_ARCHLIBDIR

#define OCTAVE_ARCHLIBDIR   %OCTAVE_ARCHLIBDIR%

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

◆ OCTAVE_BINDIR

#define OCTAVE_BINDIR   %OCTAVE_BINDIR%

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

◆ OCTAVE_EXEC_PREFIX

#define OCTAVE_EXEC_PREFIX   %OCTAVE_EXEC_PREFIX%

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

◆ OCTAVE_PREFIX

#define OCTAVE_PREFIX   %OCTAVE_PREFIX%

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

◆ OCTAVE_VERSION

#define OCTAVE_VERSION   %OCTAVE_VERSION%

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

Function Documentation

◆ get_octave_archlibdir()

static std::string get_octave_archlibdir ( void  )
static

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

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

Referenced by main().

◆ get_octave_bindir()

static std::string get_octave_bindir ( void  )
static

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

References OCTAVE_BINDIR, octave_getenv(), and prepend_octave_exec_home().

Referenced by main().

◆ main()

◆ octave_exec()

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

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

References octave_execv_wrapper().

Referenced by main().

◆ strsave()