#include "oct-syscalls.h"
Static Public Member Functions | |
static int | dup2 (int, int) |
static int | dup2 (int, int, std::string &) |
static int | execvp (const std::string &, const string_vector &, std::string &) |
static int | execvp (const std::string &, const string_vector &) |
static pid_t | fork (std::string &) |
static gid_t | getegid (void) |
static uid_t | geteuid (void) |
static gid_t | getgid (void) |
static pid_t | getpgrp (std::string &) |
static pid_t | getpid (void) |
static pid_t | getppid (void) |
static uid_t | getuid (void) |
static int | kill (pid_t, int) |
static int | kill (pid_t, int, std::string &) |
static int | pipe (int *, std::string &) |
static int | pipe (int *) |
static pid_t | popen2 (const std::string &, const string_vector &, bool, int *) |
static pid_t | popen2 (const std::string &, const string_vector &, bool, int *, std::string &, bool &interactive) |
static pid_t | popen2 (const std::string &, const string_vector &, bool, int *, std::string &) |
static pid_t | vfork (std::string &) |
static pid_t | waitpid (pid_t, int *status, int) |
static pid_t | waitpid (pid_t, int *status, int, std::string &) |
Definition at line 32 of file oct-syscalls.h.
Definition at line 51 of file oct-syscalls.cc.
Definition at line 58 of file oct-syscalls.cc.
References dup2(), and NOT_SUPPORTED.
int octave_syscalls::execvp | ( | const std::string & | file, | |
const string_vector & | args, | |||
std::string & | msg | |||
) | [static] |
Definition at line 84 of file oct-syscalls.cc.
References string_vector::c_str_vec(), string_vector::delete_c_str_vec(), execvp(), and NOT_SUPPORTED.
int octave_syscalls::execvp | ( | const std::string & | file, | |
const string_vector & | argv | |||
) | [static] |
Definition at line 77 of file oct-syscalls.cc.
pid_t octave_syscalls::fork | ( | std::string & | msg | ) | [static] |
Definition at line 108 of file oct-syscalls.cc.
References NOT_SUPPORTED.
gid_t octave_syscalls::getegid | ( | void | ) | [static] |
Definition at line 193 of file oct-syscalls.cc.
Referenced by DEFUNX().
uid_t octave_syscalls::geteuid | ( | void | ) | [static] |
Definition at line 213 of file oct-syscalls.cc.
Referenced by DEFUNX().
gid_t octave_syscalls::getgid | ( | void | ) | [static] |
Definition at line 183 of file oct-syscalls.cc.
Referenced by DEFUNX().
pid_t octave_syscalls::getpgrp | ( | std::string & | msg | ) | [static] |
pid_t octave_syscalls::getpid | ( | void | ) | [static] |
Definition at line 163 of file oct-syscalls.cc.
Referenced by DEFUNX().
pid_t octave_syscalls::getppid | ( | void | ) | [static] |
Definition at line 173 of file oct-syscalls.cc.
Referenced by DEFUNX().
uid_t octave_syscalls::getuid | ( | void | ) | [static] |
Definition at line 203 of file oct-syscalls.cc.
Referenced by DEFUNX(), octave_env::do_get_home_directory(), and octave_env::do_get_user_name().
Definition at line 275 of file oct-syscalls.cc.
Definition at line 282 of file oct-syscalls.cc.
References kill(), and NOT_SUPPORTED.
Definition at line 230 of file oct-syscalls.cc.
References NOT_SUPPORTED, and pipe().
Definition at line 223 of file oct-syscalls.cc.
pid_t octave_syscalls::popen2 | ( | const std::string & | cmd, | |
const string_vector & | args, | |||
bool | sync_mode, | |||
int * | fildes | |||
) | [static] |
Definition at line 301 of file oct-syscalls.cc.
References interactive.
pid_t octave_syscalls::popen2 | ( | const std::string & | cmd, | |
const string_vector & | args, | |||
bool | sync_mode, | |||
int * | fildes, | |||
std::string & | msg, | |||
bool & | interactive | |||
) | [static] |
Definition at line 318 of file oct-syscalls.cc.
References dup2(), execvp(), fork(), octave_fcntl(), and pipe().
pid_t octave_syscalls::popen2 | ( | const std::string & | cmd, | |
const string_vector & | args, | |||
bool | sync_mode, | |||
int * | fildes, | |||
std::string & | msg | |||
) | [static] |
Definition at line 310 of file oct-syscalls.cc.
References interactive, and popen2().
pid_t octave_syscalls::vfork | ( | std::string & | msg | ) | [static] |
Definition at line 125 of file oct-syscalls.cc.
References fork(), and NOT_SUPPORTED.
Definition at line 249 of file oct-syscalls.cc.
Referenced by octave_procbuf::close(), and DEFUNX().
Definition at line 256 of file oct-syscalls.cc.
References NOT_SUPPORTED, and octave_waitpid().