23 #if defined (HAVE_CONFIG_H) 42 #define NOT_SUPPORTED(nm) \ 43 nm ": not supported on this system" 50 dup2 (
int old_fd,
int new_fd)
66 msg = std::strerror (errno);
91 msg = std::strerror (errno);
106 msg = std::strerror (errno);
127 msg = std::strerror (errno);
141 msg = std::strerror (errno);
199 msg = std::strerror (errno);
221 msg = std::strerror (errno);
311 msg = std::strerror (errno);
321 bool sync_mode,
int *fildes)
324 return sys::popen2 (cmd, args, sync_mode, fildes, msg);
362 msg = std::strerror (errno);
int dup2(int old_fd, int new_fd)
uid_t octave_geteuid_wrapper(void)
bool octave_wifsignaled_wrapper(int status)
char ** c_str_vec(void) const
For example cd octave end example noindent changes the current working directory to file
pid_t octave_vfork_wrapper(void)
int fcntl(int fd, int cmd, long arg)
bool octave_wifexited_wrapper(int status)
int kill(pid_t pid, int sig)
int octave_kill_wrapper(pid_t pid, int signum)
pid_t octave_getpid_wrapper(void)
uid_t octave_getuid_wrapper(void)
int octave_wcontinue_wrapper(void)
static void delete_c_str_vec(const char *const *)
int octave_pipe_wrapper(int *fd)
int octave_fcntl_wrapper(int fd, int cmd, int arg)
bool octave_wifcontinued_wrapper(int status)
bool wifstopped(int status)
pid_t octave_popen2(const char *cmd, char *const *args, bool sync_mode, int *fildes, const char **errmsg)
int octave_wtermsig_wrapper(int status)
bool wifsignaled(int status)
pid_t waitpid(pid_t pid, int *status, int options)
gid_t octave_getgid_wrapper(void)
int wexitstatus(int status)
int octave_wstopsig_wrapper(int status)
gid_t octave_getegid_wrapper(void)
int wcoredump(int status)
bool octave_have_vfork(void)
pid_t octave_fork_wrapper(void)
bool octave_have_kill(void)
int octave_wexitstatus_wrapper(int status)
bool wifexited(int status)
int octave_execvp_wrapper(const char *file, char *const *argv)
bool octave_have_fork(void)
#define NOT_SUPPORTED(nm)
bool wifcontinued(int status)
int execvp(const std::string &file, const string_vector &argv)
OCTAVE_EXPORT octave_value_list only variables visible in the local scope are displayed The following are valid options
pid_t octave_getppid_wrapper(void)
pid_t octave_waitpid_wrapper(pid_t pid, int *statusp, int options)
pid_t fork(std::string &msg)
int octave_wcoredump_wrapper(int status)
int octave_wuntraced_wrapper(void)
int octave_wnohang_wrapper(void)
pid_t octave_getpgrp_wrapper(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
bool octave_wifstopped_wrapper(int status)
int octave_dup2_wrapper(int fd1, int fd2)
pid_t getpgrp(std::string &msg)
pid_t vfork(std::string &msg)
pid_t popen2(const std::string &cmd, const string_vector &args, bool sync_mode, int *fildes)