GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-syscalls.cc File Reference
#include <ctime>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include "fcntl-wrappers.h"
#include "lo-utils.h"
#include "lo-sysdep.h"
#include "oct-syscalls.h"
#include "octave-popen2.h"
#include "signal-wrappers.h"
#include "str-vec.h"
#include "unistd-wrappers.h"
#include "wait-wrappers.h"
Include dependency graph for oct-syscalls.cc:

Go to the source code of this file.

Namespaces

 octave
 
 octave::sys
 

Macros

#define NOT_SUPPORTED(nm)   nm ": not supported on this system"
 

Functions

int octave::sys::dup2 (int old_fd, int new_fd)
 
int octave::sys::dup2 (int old_fd, int new_fd, std::string &msg)
 
int octave::sys::execvp (const std::string &file, const string_vector &argv)
 
int octave::sys::execvp (const std::string &file, const string_vector &args, std::string &msg)
 
int octave::sys::fcntl (int fd, int cmd, long arg)
 
int octave::sys::fcntl (int fd, int cmd, long arg, std::string &msg)
 
pid_t octave::sys::fork (std::string &msg)
 
gid_t octave::sys::getegid (void)
 
uid_t octave::sys::geteuid (void)
 
gid_t octave::sys::getgid (void)
 
pid_t octave::sys::getpgrp (std::string &msg)
 
pid_t octave::sys::getpid (void)
 
pid_t octave::sys::getppid (void)
 
uid_t octave::sys::getuid (void)
 
int octave::sys::kill (pid_t pid, int sig)
 
int octave::sys::kill (pid_t pid, int sig, std::string &msg)
 
int octave::sys::pipe (int *fildes)
 
int octave::sys::pipe (int *fildes, std::string &msg)
 
pid_t octave::sys::popen2 (const std::string &cmd, const string_vector &args, bool sync_mode, int *fildes)
 
pid_t octave::sys::popen2 (const std::string &cmd, const string_vector &args, bool sync_mode, int *fildes, std::string &msg)
 
pid_t octave::sys::vfork (std::string &msg)
 
pid_t octave::sys::waitpid (pid_t pid, int *status, int options)
 
pid_t octave::sys::waitpid (pid_t pid, int *status, int options, std::string &msg)
 
int octave::sys::wcontinue (void)
 
int octave::sys::wcoredump (int status)
 
int octave::sys::wexitstatus (int status)
 
bool octave::sys::wifcontinued (int status)
 
bool octave::sys::wifexited (int status)
 
bool octave::sys::wifsignaled (int status)
 
bool octave::sys::wifstopped (int status)
 
int octave::sys::wnohang (void)
 
int octave::sys::wstopsig (int status)
 
int octave::sys::wtermsig (int status)
 
int octave::sys::wuntraced (void)
 

Macro Definition Documentation

◆ NOT_SUPPORTED

#define NOT_SUPPORTED (   nm)    nm ": not supported on this system"

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

Referenced by octave::sys::fork(), octave::sys::kill(), and octave::sys::vfork().