aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-11 14:09:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-11 14:09:34 +0900
commitbca57b911a185ab3d0fe19f6f739f6b27bfd48c5 (patch)
treee41a697cfe1933e80546d30f512df622ea2f99cc /process.c
parentc718c300079573392d4de6f51fbb28b3a34c5341 (diff)
downloadruby-bca57b911a185ab3d0fe19f6f739f6b27bfd48c5.tar.gz
[DOC] Moved RDoc of abort [ci skip]
Diffstat (limited to 'process.c')
-rw-r--r--process.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/process.c b/process.c
index 0c59fcdf3d..1ff203d8ee 100644
--- a/process.c
+++ b/process.c
@@ -4460,17 +4460,6 @@ f_exit(int c, const VALUE *a, VALUE _)
UNREACHABLE_RETURN(Qnil);
}
-/*
- * call-seq:
- * abort
- * Kernel::abort([msg])
- * Process.abort([msg])
- *
- * Terminate execution immediately, effectively by calling
- * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
- * to STDERR prior to terminating.
- */
-
VALUE
rb_f_abort(int argc, const VALUE *argv)
{
@@ -4497,6 +4486,18 @@ rb_f_abort(int argc, const VALUE *argv)
}
NORETURN(static VALUE f_abort(int c, const VALUE *a, VALUE _));
+
+/*
+ * call-seq:
+ * abort
+ * Kernel::abort([msg])
+ * Process.abort([msg])
+ *
+ * Terminate execution immediately, effectively by calling
+ * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
+ * to STDERR prior to terminating.
+ */
+
static VALUE
f_abort(int c, const VALUE *a, VALUE _)
{