|
#define | EXIT_SUCCESS 0 |
|
#define | EXIT_FAILURE 1 |
|
#define | MAXPATHLEN 1024 |
|
#define | WIFEXITED(w) (((w) & 0xff) == 0) |
|
#define | WIFSIGNALED(w) (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f)) |
|
#define | WIFSTOPPED(w) (((w) & 0xff) == 0x7f) |
|
#define | WEXITSTATUS(w) (((w) >> 8) & 0xff) |
|
#define | WTERMSIG(w) ((w) & 0x7f) |
|
#define | WSTOPSIG WEXITSTATUS |
|
#define | preserving_errno(stmts) do {int saved_errno = errno; stmts; errno = saved_errno;} while (0) |
|
#define | p_uid_from_name p_uid_from_name |
|
#define | p_gid_from_name p_gid_from_name |
|
#define | PREPARE_GETPWNAM /* do nothing */ |
|
#define | FINISH_GETPWNAM /* do nothing */ |
|
#define | OBJ2UID1(id) NUM2UIDT(id) |
|
#define | OBJ2UID(id) NUM2UIDT(id) |
|
#define | p_uid_from_name rb_f_notimplement |
|
#define | PREPARE_GETGRNAM /* do nothing */ |
|
#define | FINISH_GETGRNAM /* do nothing */ |
|
#define | OBJ2GID1(id) NUM2GIDT(id) |
|
#define | OBJ2GID(id) NUM2GIDT(id) |
|
#define | p_gid_from_name rb_f_notimplement |
|
#define | id_status ruby_static_id_status |
|
#define | ALWAYS_NEED_ENVP 0 |
|
#define | redirect_dup(oldfd) dup(oldfd) |
|
#define | redirect_dup2(oldfd, newfd) dup2((oldfd), (newfd)) |
|
#define | redirect_cloexec_dup(oldfd) rb_cloexec_dup(oldfd) |
|
#define | redirect_cloexec_dup2(oldfd, newfd) rb_cloexec_dup2((oldfd), (newfd)) |
|
#define | redirect_close(fd) close_unless_reserved(fd) |
|
#define | parent_redirect_open(pathname, flags, perm) rb_cloexec_open((pathname), (flags), (perm)) |
|
#define | parent_redirect_close(fd) close_unless_reserved(fd) |
|
#define | PST2INT(st) NUM2INT(pst_to_i(st)) |
|
#define | before_fork_ruby() before_exec() |
|
#define | after_fork_ruby() (rb_threadptr_pending_interrupt_clear(GET_THREAD()), after_exec()) |
|
#define | try_with_sh(prog, argv, envp) (void)0 |
|
#define | EXPORT_STR(str) (str) |
|
#define | EXPORT_DUP(str) rb_str_dup(str) |
|
#define | USE_SPAWNV 0 |
|
#define | P_NOWAIT _P_NOWAIT |
|
#define | ENVMATCH(n1, n2) (strcmp((n1), (n2)) == 0) |
|
#define | CHILD_ERRMSG_BUFLEN 80 |
|
#define | ERRMSG(str) do { if (errmsg && 0 < errmsg_buflen) strlcpy(errmsg, (str), errmsg_buflen); } while (0) |
|
#define | ERRMSG1(str, a) do { if (errmsg && 0 < errmsg_buflen) snprintf(errmsg, errmsg_buflen, (str), (a)); } while (0) |
|
#define | ERRMSG2(str, a, b) do { if (errmsg && 0 < errmsg_buflen) snprintf(errmsg, errmsg_buflen, (str), (a), (b)); } while (0) |
|
#define | rb_f_fork rb_f_notimplement |
|
#define | proc_getpgrp rb_f_notimplement |
|
#define | proc_setpgrp rb_f_notimplement |
|
#define | proc_getpgid rb_f_notimplement |
|
#define | proc_setpgid rb_f_notimplement |
|
#define | proc_getsid rb_f_notimplement |
|
#define | proc_setsid rb_f_notimplement |
|
#define | proc_getpriority rb_f_notimplement |
|
#define | proc_setpriority rb_f_notimplement |
|
#define | proc_getrlimit rb_f_notimplement |
|
#define | proc_setrlimit rb_f_notimplement |
|
#define | p_sys_setuid rb_f_notimplement |
|
#define | p_sys_setruid rb_f_notimplement |
|
#define | p_sys_seteuid rb_f_notimplement |
|
#define | p_sys_setreuid rb_f_notimplement |
|
#define | p_sys_setresuid rb_f_notimplement |
|
#define | proc_setuid rb_f_notimplement |
|
#define | p_sys_setgid rb_f_notimplement |
|
#define | p_sys_setrgid rb_f_notimplement |
|
#define | p_sys_setegid rb_f_notimplement |
|
#define | p_sys_setregid rb_f_notimplement |
|
#define | p_sys_setresgid rb_f_notimplement |
|
#define | p_sys_issetugid rb_f_notimplement |
|
#define | proc_setgid rb_f_notimplement |
|
#define | proc_getgroups rb_f_notimplement |
|
#define | proc_setgroups rb_f_notimplement |
|
#define | proc_initgroups rb_f_notimplement |
|
#define | proc_getmaxgroups rb_f_notimplement |
|
#define | proc_setmaxgroups rb_f_notimplement |
|
#define | proc_daemon rb_f_notimplement |
|
#define | proc_seteuid_m rb_f_notimplement |
|
#define | proc_setegid_m rb_f_notimplement |
|
#define | rb_proc_times rb_f_notimplement |
|
#define | TIMETICK_INT_MIN LONG_MIN |
|
#define | TIMETICK_INT_MAX LONG_MAX |
|
#define | TIMETICK_INT2NUM(v) LONG2NUM(v) |
|
#define | MUL_OVERFLOW_TIMETICK_P(a, b) MUL_OVERFLOW_LONG_P(a, b) |
|
#define | NDIV(x, y) (-(-((x)+1)/(y))-1) |
|
#define | DIV(n, d) ((n)<0 ? NDIV((n),(d)) : (n)/(d)) |
|
#define | RUBY_GETTIMEOFDAY_BASED_CLOCK_REALTIME ID2SYM(id_GETTIMEOFDAY_BASED_CLOCK_REALTIME) |
|
#define | RUBY_TIME_BASED_CLOCK_REALTIME ID2SYM(id_TIME_BASED_CLOCK_REALTIME) |
|
#define | RUBY_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID ID2SYM(id_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID) |
|
#define | rb_intern(str) rb_intern_const(str) |
|
|
VALUE | rb_last_status_get (void) |
|
void | rb_last_status_set (int status, rb_pid_t pid) |
|
void | rb_last_status_clear (void) |
|
rb_pid_t | rb_waitpid (rb_pid_t pid, int *st, int flags) |
|
VALUE | rb_detach_process (rb_pid_t pid) |
|
int | rb_proc_exec (const char *str) |
|
int | rb_execarg_addopt (VALUE execarg_obj, VALUE key, VALUE val) |
|
VALUE | rb_execarg_extract_options (VALUE execarg_obj, VALUE opthash) |
|
VALUE | rb_execarg_new (int argc, const VALUE *argv, int accept_shell) |
|
struct rb_execarg * | rb_execarg_get (VALUE execarg_obj) |
|
VALUE | rb_execarg_init (int argc, const VALUE *orig_argv, int accept_shell, VALUE execarg_obj) |
|
void | rb_execarg_setenv (VALUE execarg_obj, VALUE env) |
|
void | rb_execarg_parent_start (VALUE execarg_obj) |
|
void | rb_execarg_parent_end (VALUE execarg_obj) |
|
VALUE | rb_f_exec (int argc, const VALUE *argv) |
|
int | rb_execarg_run_options (const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen) |
|
int | rb_exec_async_signal_safe (const struct rb_execarg *eargp, char *errmsg, size_t errmsg_buflen) |
|
void | rb_exit (int status) |
|
VALUE | rb_f_exit (int argc, const VALUE *argv) |
|
VALUE | rb_f_abort (int argc, const VALUE *argv) |
|
void | rb_syswait (rb_pid_t pid) |
|
char * | rb_execarg_commandline (const struct rb_execarg *eargp, VALUE *prog) |
|
rb_pid_t | rb_spawn_err (int argc, const VALUE *argv, char *errmsg, size_t errmsg_buflen) |
|
rb_pid_t | rb_spawn (int argc, const VALUE *argv) |
|
| CONSTFUNC (static timetick_int_t gcd_timetick_int(timetick_int_t, timetick_int_t)) |
|
VALUE | rb_clock_gettime (int argc, VALUE *argv) |
|
VALUE | rb_clock_getres (int argc, VALUE *argv) |
|
void | InitVM_process (void) |
|
void | Init_process (void) |
|