GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
unistd-wrappers.h File Reference
#include <stdbool.h>
#include <sys/types.h>
Include dependency graph for unistd-wrappers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int octave_access_f_ok (void)
int octave_access_r_ok (void)
int octave_access_w_ok (void)
int octave_access_wrapper (const char *nm, int mode)
int octave_access_x_ok (void)
int octave_chdir_wrapper (const char *nm)
int octave_close_wrapper (int fd)
const char * octave_ctermid_wrapper (void)
int octave_dup2_wrapper (int fd1, int fd2)
int octave_execv_wrapper (const char *file, char *const *argv)
int octave_execvp_wrapper (const char *file, char *const *argv)
pid_t octave_fork_wrapper (void)
int octave_ftruncate_wrapper (int fd, off_t sz)
char * octave_getcwd_wrapper (char *nm, size_t len)
gid_t octave_getegid_wrapper (void)
uid_t octave_geteuid_wrapper (void)
gid_t octave_getgid_wrapper (void)
int octave_gethostname_wrapper (char *nm, size_t len)
pid_t octave_getpgrp_wrapper (void)
pid_t octave_getpid_wrapper (void)
pid_t octave_getppid_wrapper (void)
uid_t octave_getuid_wrapper (void)
bool octave_have_fork (void)
bool octave_have_vfork (void)
int octave_isatty_wrapper (int fd)
int octave_link_wrapper (const char *nm1, const char *nm2)
int octave_pipe_wrapper (int *fd)
int octave_rmdir_wrapper (const char *nm)
pid_t octave_setsid_wrapper (void)
int octave_stdin_fileno (void)
int octave_stdout_fileno (void)
int octave_symlink_wrapper (const char *nm1, const char *nm2)
int octave_unlink_wrapper (const char *nm)
pid_t octave_vfork_wrapper (void)

Function Documentation

int octave_access_f_ok ( void  )

Definition at line 46 of file unistd-wrappers.c.

int octave_access_r_ok ( void  )

Definition at line 52 of file unistd-wrappers.c.

Referenced by READABLE().

int octave_access_w_ok ( void  )

Definition at line 58 of file unistd-wrappers.c.

int octave_access_wrapper ( const char *  nm,
int  mode 

Definition at line 70 of file unistd-wrappers.c.

Referenced by READABLE().

int octave_access_x_ok ( void  )

Definition at line 64 of file unistd-wrappers.c.

int octave_chdir_wrapper ( const char *  nm)

Definition at line 76 of file unistd-wrappers.c.

References octave::sys::chdir().

Referenced by octave::sys::chdir().

int octave_close_wrapper ( int  fd)

Definition at line 82 of file unistd-wrappers.c.

Referenced by octave_procbuf::open().

const char* octave_ctermid_wrapper ( void  )

Definition at line 88 of file unistd-wrappers.c.

int octave_dup2_wrapper ( int  fd1,
int  fd2 

Definition at line 98 of file unistd-wrappers.c.

References octave::sys::dup2().

Referenced by octave::sys::dup2(), and octave_procbuf::open().

int octave_execv_wrapper ( const char *  file,
char *const *  argv 

Definition at line 235 of file unistd-wrappers.c.

References free().

Referenced by octave_exec().

int octave_execvp_wrapper ( const char *  file,
char *const *  argv 

Definition at line 260 of file unistd-wrappers.c.

References octave::sys::execvp().

Referenced by octave::sys::execvp().

pid_t octave_fork_wrapper ( void  )

Definition at line 266 of file unistd-wrappers.c.

References octave::sys::fork().

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

int octave_ftruncate_wrapper ( int  fd,
off_t  sz 

Definition at line 276 of file unistd-wrappers.c.

char* octave_getcwd_wrapper ( char *  nm,
size_t  len 

Definition at line 282 of file unistd-wrappers.c.

References octave::sys::getcwd().

Referenced by octave::sys::getcwd().

gid_t octave_getegid_wrapper ( void  )

Definition at line 288 of file unistd-wrappers.c.

References octave::sys::getegid().

Referenced by octave::sys::getegid().

uid_t octave_geteuid_wrapper ( void  )
gid_t octave_getgid_wrapper ( void  )

Definition at line 308 of file unistd-wrappers.c.

References octave::sys::getgid().

Referenced by octave::sys::getgid().

int octave_gethostname_wrapper ( char *  nm,
size_t  len 

Definition at line 318 of file unistd-wrappers.c.

Referenced by octave::sys::env::do_get_host_name().

pid_t octave_getpgrp_wrapper ( void  )

Definition at line 324 of file unistd-wrappers.c.

References octave::sys::getpgrp().

Referenced by octave::sys::getpgrp().

pid_t octave_getpid_wrapper ( void  )

Definition at line 334 of file unistd-wrappers.c.

References octave::sys::getpid().

Referenced by octave::sys::getpid().

pid_t octave_getppid_wrapper ( void  )

Definition at line 344 of file unistd-wrappers.c.

References octave::sys::getppid().

Referenced by octave::sys::getppid().

uid_t octave_getuid_wrapper ( void  )

Definition at line 354 of file unistd-wrappers.c.

References octave::sys::getuid().

Referenced by octave::sys::getuid().

bool octave_have_fork ( void  )

Definition at line 432 of file unistd-wrappers.c.

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

bool octave_have_vfork ( void  )

Definition at line 442 of file unistd-wrappers.c.

Referenced by octave::sys::vfork().

int octave_isatty_wrapper ( int  fd)

Definition at line 364 of file unistd-wrappers.c.

References isatty.

Referenced by raw_mode(), and octave::gui_application::start_gui_p().

int octave_link_wrapper ( const char *  nm1,
const char *  nm2 

Definition at line 370 of file unistd-wrappers.c.

References link().

Referenced by octave::sys::link().

int octave_pipe_wrapper ( int fd)

Definition at line 376 of file unistd-wrappers.c.

References octave::sys::pipe().

Referenced by octave::sys::pipe().

int octave_rmdir_wrapper ( const char *  nm)

Definition at line 382 of file unistd-wrappers.c.

References octave::sys::rmdir().

Referenced by octave::sys::rmdir().

pid_t octave_setsid_wrapper ( void  )

Definition at line 388 of file unistd-wrappers.c.

Referenced by main().

int octave_stdin_fileno ( void  )

Definition at line 398 of file unistd-wrappers.c.

References STDIN_FILENO.

int octave_stdout_fileno ( void  )

Definition at line 404 of file unistd-wrappers.c.

int octave_symlink_wrapper ( const char *  nm1,
const char *  nm2 

Definition at line 410 of file unistd-wrappers.c.

References octave::sys::symlink().

Referenced by octave::sys::symlink().

int octave_unlink_wrapper ( const char *  nm)

Definition at line 416 of file unistd-wrappers.c.

References octave::sys::unlink().

Referenced by cleanup_tmp_files(), main(), octave::sys::unlink(), and unlink_cleanup().

pid_t octave_vfork_wrapper ( void  )

Definition at line 422 of file unistd-wrappers.c.

References octave::sys::vfork().

Referenced by octave::sys::vfork().