23 #if ! defined (octave_unistd_wrappers_h) 24 #define octave_unistd_wrappers_h 1 26 #if ! defined (__cplusplus) 30 #include <sys/types.h> 32 #if defined __cplusplus 104 #if defined __cplusplus pid_t octave_getpid_wrapper(void)
int octave_ftruncate_wrapper(int fd, off_t sz)
pid_t octave_fork_wrapper(void)
For example cd octave end example noindent changes the current working directory to file
int octave_execv_wrapper(const char *file, char *const *argv)
int octave_execvp_wrapper(const char *file, char *const *argv)
int octave_dup2_wrapper(int fd1, int fd2)
const char * octave_ctermid_wrapper(void)
int octave_unlink_wrapper(const char *nm)
int octave_access_wrapper(const char *nm, int mode)
int octave_symlink_wrapper(const char *nm1, const char *nm2)
uid_t octave_geteuid_wrapper(void)
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
int octave_pipe_wrapper(int *fd)
int octave_link_wrapper(const char *nm1, const char *nm2)
int octave_isatty_wrapper(int fd)
gid_t octave_getgid_wrapper(void)
int octave_access_w_ok(void)
int octave_gethostname_wrapper(char *nm, size_t len)
bool octave_have_vfork(void)
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
pid_t octave_getpgrp_wrapper(void)
gid_t octave_getegid_wrapper(void)
char * octave_getcwd_wrapper(char *nm, size_t len)
int octave_close_wrapper(int fd)
pid_t octave_setsid_wrapper(void)
int octave_stdout_fileno(void)
bool octave_have_fork(void)
int octave_stdin_fileno(void)
int octave_chdir_wrapper(const char *nm)
int octave_access_x_ok(void)
int octave_rmdir_wrapper(const char *nm)
uid_t octave_getuid_wrapper(void)
pid_t octave_getppid_wrapper(void)
int octave_access_r_ok(void)
pid_t octave_vfork_wrapper(void)
int octave_access_f_ok(void)