* process.c (rb_f_exit_bang, rb_f_exit, rb_f_abort): fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71cfa6ea2d
commit
93164bd9d7
21
process.c
21
process.c
@ -2646,13 +2646,13 @@ rb_f_fork(VALUE obj)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* Process.exit!(fixnum=-1)
|
* Process.exit!(status=false)
|
||||||
*
|
*
|
||||||
* Exits the process immediately. No exit handlers are
|
* Exits the process immediately. No exit handlers are
|
||||||
* run. <em>fixnum</em> is returned to the underlying system as the
|
* run. <em>status</em> is returned to the underlying system as the
|
||||||
* exit status.
|
* exit status.
|
||||||
*
|
*
|
||||||
* Process.exit!(0)
|
* Process.exit!(true)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
@ -2700,14 +2700,17 @@ rb_exit(int status)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* exit(integer=0)
|
* exit(status=true)
|
||||||
* Kernel::exit(integer=0)
|
* Kernel::exit(status=true)
|
||||||
* Process::exit(integer=0)
|
* Process::exit(status=true)
|
||||||
*
|
*
|
||||||
* Initiates the termination of the Ruby script by raising the
|
* Initiates the termination of the Ruby script by raising the
|
||||||
* <code>SystemExit</code> exception. This exception may be caught. The
|
* <code>SystemExit</code> exception. This exception may be caught. The
|
||||||
* optional parameter is used to return a status code to the invoking
|
* optional parameter is used to return a status code to the invoking
|
||||||
* environment.
|
* environment.
|
||||||
|
* +true+ and +FALSE+ of _status_ means success and failure
|
||||||
|
* respectively. The interpretation of other integer values are
|
||||||
|
* system dependent.
|
||||||
*
|
*
|
||||||
* begin
|
* begin
|
||||||
* exit
|
* exit
|
||||||
@ -2771,11 +2774,11 @@ rb_f_exit(int argc, VALUE *argv)
|
|||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* abort
|
* abort
|
||||||
* Kernel::abort
|
* Kernel::abort([msg])
|
||||||
* Process::abort
|
* Process::abort([msg])
|
||||||
*
|
*
|
||||||
* Terminate execution immediately, effectively by calling
|
* Terminate execution immediately, effectively by calling
|
||||||
* <code>Kernel.exit(1)</code>. If _msg_ is given, it is written
|
* <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
|
||||||
* to STDERR prior to terminating.
|
* to STDERR prior to terminating.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user