Static Public Member Functions

octave_syscalls Struct Reference

#include "oct-syscalls.h"

List of all members.

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 &)

Detailed Description

Definition at line 32 of file oct-syscalls.h.


Member Function Documentation

int octave_syscalls::dup2 ( int  old_fd,
int  new_fd 
) [static]

Definition at line 51 of file oct-syscalls.cc.

Referenced by DEFUNX(), dup2(), and popen2().

int octave_syscalls::dup2 ( int  old_fd,
int  new_fd,
std::string &  msg 
) [static]

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]
int octave_syscalls::execvp ( const std::string &  file,
const string_vector argv 
) [static]

Definition at line 77 of file oct-syscalls.cc.

Referenced by DEFUNX(), execvp(), and popen2().

pid_t octave_syscalls::fork ( std::string &  msg  )  [static]

Definition at line 108 of file oct-syscalls.cc.

References NOT_SUPPORTED.

Referenced by DEFUNX(), popen2(), and vfork().

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]

Definition at line 146 of file oct-syscalls.cc.

References NOT_SUPPORTED.

Referenced by DEFUNX().

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]
int octave_syscalls::kill ( pid_t  pid,
int  sig 
) [static]

Definition at line 275 of file oct-syscalls.cc.

Referenced by DEFUNX(), and kill().

int octave_syscalls::kill ( pid_t  pid,
int  sig,
std::string &  msg 
) [static]

Definition at line 282 of file oct-syscalls.cc.

References kill(), and NOT_SUPPORTED.

int octave_syscalls::pipe ( int fildes,
std::string &  msg 
) [static]

Definition at line 230 of file oct-syscalls.cc.

References NOT_SUPPORTED, and pipe().

int octave_syscalls::pipe ( int fildes  )  [static]

Definition at line 223 of file oct-syscalls.cc.

Referenced by DEFUNX(), pipe(), and popen2().

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.

Referenced by DEFUNX(), and popen2().

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.

pid_t octave_syscalls::waitpid ( pid_t  pid,
int status,
int  options 
) [static]

Definition at line 249 of file oct-syscalls.cc.

Referenced by octave_procbuf::close(), and DEFUNX().

pid_t octave_syscalls::waitpid ( pid_t  pid,
int status,
int  options,
std::string &  msg 
) [static]

Definition at line 256 of file oct-syscalls.cc.

References NOT_SUPPORTED, and octave_waitpid().


The documentation for this struct was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines