summaryrefslogtreecommitdiff
path: root/internal/process.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-10-25 20:47:19 +0900
committerGitHub <noreply@github.com>2021-10-25 20:47:19 +0900
commit13068ebe32a7b8a1a9bd4fc2d5f157880b374e1d (patch)
tree63db2798edf5744f64f9a3e425cd994fd5d3f7bd /internal/process.h
parent1eac38c6093a03688c2f046cfb6a16028b9395f5 (diff)
downloadruby-13068ebe32a7b8a1a9bd4fc2d5f157880b374e1d.tar.gz
process.c: Add Process._fork (#5017)
* process.c: Add Process._fork This API is supposed for application monitoring libraries to hook fork event. [Feature #17795] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'internal/process.h')
-rw-r--r--internal/process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/process.h b/internal/process.h
index 75e7db5b42..ceadfdcbbb 100644
--- a/internal/process.h
+++ b/internal/process.h
@@ -75,7 +75,7 @@ struct rb_execarg {
};
/* process.c */
-rb_pid_t rb_fork_ruby(int *status);
+rb_pid_t rb_call_proc__fork(void);
void rb_last_status_clear(void);
static inline char **ARGVSTR2ARGV(VALUE argv_str);
static inline size_t ARGVSTR2ARGC(VALUE argv_str);