mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Moved RDoc of abort [ci skip]
This commit is contained in:
parent
c718c30007
commit
bca57b911a
1 changed files with 12 additions and 11 deletions
23
process.c
23
process.c
|
@ -4460,17 +4460,6 @@ f_exit(int c, const VALUE *a, VALUE _)
|
||||||
UNREACHABLE_RETURN(Qnil);
|
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
|
VALUE
|
||||||
rb_f_abort(int argc, const VALUE *argv)
|
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 _));
|
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
|
static VALUE
|
||||||
f_abort(int c, const VALUE *a, VALUE _)
|
f_abort(int c, const VALUE *a, VALUE _)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue