#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 57 of file unistd-wrappers.c.
int octave_access_r_ok | ( | void | ) |
Definition at line 63 of file unistd-wrappers.c.
int octave_access_w_ok | ( | void | ) |
Definition at line 69 of file unistd-wrappers.c.
Definition at line 81 of file unistd-wrappers.c.
int octave_access_x_ok | ( | void | ) |
Definition at line 75 of file unistd-wrappers.c.
int octave_chdir_wrapper | ( | const char * | nm | ) |
Definition at line 87 of file unistd-wrappers.c.
References chdir(), free(), and u8_to_wchar().
Referenced by chdir().
Definition at line 100 of file unistd-wrappers.c.
Referenced by procbuf::open().
const char * octave_ctermid_wrapper | ( | void | ) |
Definition at line 106 of file unistd-wrappers.c.
Definition at line 116 of file unistd-wrappers.c.
References dup2().
Referenced by dup2(), and procbuf::open().
int octave_execv_wrapper | ( | const char * | file, |
char *const * | argv | ||
) |
Definition at line 122 of file unistd-wrappers.c.
References free(), malloc(), and u8_to_wchar().
int octave_execvp_wrapper | ( | const char * | file, |
char *const * | argv | ||
) |
pid_t octave_fork_wrapper | ( | void | ) |
Definition at line 201 of file unistd-wrappers.c.
char * octave_getcwd_wrapper | ( | char * | nm, |
size_t | len | ||
) |
Definition at line 207 of file unistd-wrappers.c.
References free(), getcwd(), len, strlen(), and u8_from_wchar().
Referenced by getcwd().
gid_t octave_getegid_wrapper | ( | void | ) |
uid_t octave_geteuid_wrapper | ( | void | ) |
Definition at line 244 of file unistd-wrappers.c.
References geteuid().
Referenced by command_editor::do_decode_prompt_string(), and geteuid().
gid_t octave_getgid_wrapper | ( | void | ) |
int octave_gethostname_wrapper | ( | char * | nm, |
size_t | len | ||
) |
Definition at line 264 of file unistd-wrappers.c.
References len.
pid_t octave_getpgrp_wrapper | ( | void | ) |
pid_t octave_getpid_wrapper | ( | void | ) |
Definition at line 280 of file unistd-wrappers.c.
References getpid().
Referenced by getpid(), and interpreter::interrupt().
pid_t octave_getppid_wrapper | ( | void | ) |
uid_t octave_getuid_wrapper | ( | void | ) |
bool octave_have_fork | ( | void | ) |
Definition at line 406 of file unistd-wrappers.c.
bool octave_have_vfork | ( | void | ) |
Definition at line 416 of file unistd-wrappers.c.
Referenced by vfork().
Definition at line 310 of file unistd-wrappers.c.
References isatty.
Referenced by interpreter::interpreter(), and raw_mode().
int octave_link_wrapper | ( | const char * | nm1, |
const char * | nm2 | ||
) |
int octave_rmdir_wrapper | ( | const char * | nm | ) |
Definition at line 328 of file unistd-wrappers.c.
References free(), rmdir(), and u8_to_wchar().
Referenced by rmdir().
pid_t octave_setsid_wrapper | ( | void | ) |
Definition at line 341 of file unistd-wrappers.c.
Referenced by main().
int octave_stderr_fileno | ( | void | ) |
Definition at line 363 of file unistd-wrappers.c.
int octave_stdin_fileno | ( | void | ) |
Definition at line 351 of file unistd-wrappers.c.
References STDIN_FILENO.
int octave_stdout_fileno | ( | void | ) |
Definition at line 357 of file unistd-wrappers.c.
int octave_symlink_wrapper | ( | const char * | nm1, |
const char * | nm2 | ||
) |
int octave_unlink_wrapper | ( | const char * | nm | ) |
Definition at line 375 of file unistd-wrappers.c.
References free(), u8_to_wchar(), and unlink().
Referenced by temporary_file_list::cleanup(), fopen_tmp(), main(), and unlink().
pid_t octave_vfork_wrapper | ( | void | ) |