GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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.

Functions

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

◆ octave_access_f_ok()

int octave_access_f_ok ( void  )

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

◆ octave_access_r_ok()

int octave_access_r_ok ( void  )

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

Referenced by READABLE().

◆ octave_access_w_ok()

int octave_access_w_ok ( void  )

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

◆ octave_access_wrapper()

int octave_access_wrapper ( const char *  nm,
int  mode 
)

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

Referenced by READABLE().

◆ octave_access_x_ok()

int octave_access_x_ok ( void  )

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

◆ octave_chdir_wrapper()

int octave_chdir_wrapper ( const char *  nm)

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

References octave::sys::chdir(), free(), and u8_to_wchar().

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

◆ octave_close_wrapper()

int octave_close_wrapper ( int  fd)

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

Referenced by octave_procbuf::open().

◆ octave_ctermid_wrapper()

const char* octave_ctermid_wrapper ( void  )

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

◆ octave_dup2_wrapper()

int octave_dup2_wrapper ( int  fd1,
int  fd2 
)

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

References octave::sys::dup2().

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

◆ octave_execv_wrapper()

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

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

References free().

Referenced by octave_exec().

◆ octave_execvp_wrapper()

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

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

References octave::sys::execvp().

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

◆ octave_fork_wrapper()

pid_t octave_fork_wrapper ( void  )

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

References octave::sys::fork().

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

◆ octave_ftruncate_wrapper()

int octave_ftruncate_wrapper ( int  fd,
off_t  sz 
)

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

◆ octave_getcwd_wrapper()

char* octave_getcwd_wrapper ( char *  nm,
size_t  len 
)

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

References free(), octave::sys::getcwd(), len, retval, strlen(), and u8_from_wchar().

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

◆ octave_getegid_wrapper()

gid_t octave_getegid_wrapper ( void  )

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

References octave::sys::getegid().

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

◆ octave_geteuid_wrapper()

uid_t octave_geteuid_wrapper ( void  )

◆ octave_getgid_wrapper()

gid_t octave_getgid_wrapper ( void  )

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

References octave::sys::getgid().

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

◆ octave_gethostname_wrapper()

int octave_gethostname_wrapper ( char *  nm,
size_t  len 
)

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

References len.

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

◆ octave_getpgrp_wrapper()

pid_t octave_getpgrp_wrapper ( void  )

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

References octave::sys::getpgrp().

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

◆ octave_getpid_wrapper()

pid_t octave_getpid_wrapper ( void  )

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

References octave::sys::getpid().

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

◆ octave_getppid_wrapper()

pid_t octave_getppid_wrapper ( void  )

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

References octave::sys::getppid().

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

◆ octave_getuid_wrapper()

uid_t octave_getuid_wrapper ( void  )

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

References octave::sys::getuid().

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

◆ octave_have_fork()

bool octave_have_fork ( void  )

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

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

◆ octave_have_vfork()

bool octave_have_vfork ( void  )

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

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

◆ octave_isatty_wrapper()

int octave_isatty_wrapper ( int  fd)

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

References isatty.

Referenced by octave::interpreter::interpreter(), and octave::raw_mode().

◆ octave_link_wrapper()

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

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

References link().

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

◆ octave_pipe_wrapper()

int octave_pipe_wrapper ( int *  fd)

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

References octave::sys::pipe().

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

◆ octave_rmdir_wrapper()

int octave_rmdir_wrapper ( const char *  nm)

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

References free(), octave::sys::rmdir(), and u8_to_wchar().

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

◆ octave_setsid_wrapper()

pid_t octave_setsid_wrapper ( void  )

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

Referenced by main().

◆ octave_stdin_fileno()

int octave_stdin_fileno ( void  )

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

References STDIN_FILENO.

◆ octave_stdout_fileno()

int octave_stdout_fileno ( void  )

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

◆ octave_symlink_wrapper()

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

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

References octave::sys::symlink().

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

◆ octave_unlink_wrapper()

int octave_unlink_wrapper ( const char *  nm)

◆ octave_vfork_wrapper()

pid_t octave_vfork_wrapper ( void  )

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

References octave::sys::vfork().

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