#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "uniconv-wrappers.h"
#include "unistd-wrappers.h"
Go to the source code of this file.
int octave_access_f_ok | ( | void | ) |
Definition at line 53 of file unistd-wrappers.c.
int octave_access_r_ok | ( | void | ) |
Definition at line 59 of file unistd-wrappers.c.
Referenced by READABLE().
int octave_access_w_ok | ( | void | ) |
Definition at line 65 of file unistd-wrappers.c.
int octave_access_wrapper | ( | const char * | nm, |
int | mode | ||
) |
Definition at line 77 of file unistd-wrappers.c.
Referenced by READABLE().
int octave_access_x_ok | ( | void | ) |
Definition at line 71 of file unistd-wrappers.c.
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().
int octave_close_wrapper | ( | int | fd | ) |
Definition at line 96 of file unistd-wrappers.c.
Referenced by octave_procbuf::open().
const char* octave_ctermid_wrapper | ( | void | ) |
Definition at line 102 of file unistd-wrappers.c.
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().
int octave_execv_wrapper | ( | const char * | file, |
char *const * | argv | ||
) |
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().
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().
int octave_ftruncate_wrapper | ( | int | fd, |
off_t | sz | ||
) |
Definition at line 290 of file unistd-wrappers.c.
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().
gid_t octave_getegid_wrapper | ( | void | ) |
Definition at line 323 of file unistd-wrappers.c.
References octave::sys::getegid().
Referenced by octave::sys::getegid().
uid_t octave_geteuid_wrapper | ( | void | ) |
Definition at line 333 of file unistd-wrappers.c.
References octave::sys::geteuid().
Referenced by octave::command_editor::do_decode_prompt_string(), and octave::sys::geteuid().
gid_t octave_getgid_wrapper | ( | void | ) |
Definition at line 343 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 353 of file unistd-wrappers.c.
References len.
Referenced by octave::sys::env::do_get_host_name().
pid_t octave_getpgrp_wrapper | ( | void | ) |
Definition at line 359 of file unistd-wrappers.c.
References octave::sys::getpgrp().
Referenced by octave::sys::getpgrp().
pid_t octave_getpid_wrapper | ( | void | ) |
Definition at line 369 of file unistd-wrappers.c.
References octave::sys::getpid().
Referenced by octave::sys::getpid().
pid_t octave_getppid_wrapper | ( | void | ) |
Definition at line 379 of file unistd-wrappers.c.
References octave::sys::getppid().
Referenced by octave::sys::getppid().
uid_t octave_getuid_wrapper | ( | void | ) |
Definition at line 389 of file unistd-wrappers.c.
References octave::sys::getuid().
Referenced by octave::sys::getuid().
bool octave_have_fork | ( | void | ) |
Definition at line 481 of file unistd-wrappers.c.
Referenced by octave::sys::fork(), and octave::sys::vfork().
bool octave_have_vfork | ( | void | ) |
Definition at line 491 of file unistd-wrappers.c.
Referenced by octave::sys::vfork().
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().
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().
int octave_pipe_wrapper | ( | int * | fd | ) |
Definition at line 411 of file unistd-wrappers.c.
References octave::sys::pipe().
Referenced by octave::sys::pipe().
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().
pid_t octave_setsid_wrapper | ( | void | ) |
Definition at line 430 of file unistd-wrappers.c.
Referenced by main().
int octave_stdin_fileno | ( | void | ) |
Definition at line 440 of file unistd-wrappers.c.
References STDIN_FILENO.
int octave_stdout_fileno | ( | void | ) |
Definition at line 446 of file unistd-wrappers.c.
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().
int octave_unlink_wrapper | ( | const char * | nm | ) |
Definition at line 458 of file unistd-wrappers.c.
References free(), u8_to_wchar(), and octave::sys::unlink().
Referenced by clean_up_tmp_files(), octave::temporary_file_list::cleanup(), main(), octave::sys::unlink(), and octave::unlink_cleanup().
pid_t octave_vfork_wrapper | ( | void | ) |
Definition at line 471 of file unistd-wrappers.c.
References octave::sys::vfork().
Referenced by octave::sys::vfork().