Project

General

Profile

Feature #5726 ยป process-exit-success-failure-constants.patch

akr (Akira Tanaka), 12/08/2011 02:15 PM

View differences:

process.c (working copy)
rb_mProcess = rb_define_module("Process");
rb_define_const(rb_mProcess, "EXIT_SUCCESS", INT2FIX(EXIT_SUCCESS));
rb_define_const(rb_mProcess, "EXIT_FAILURE", INT2FIX(EXIT_FAILURE));
#ifdef WNOHANG
/* see Process.wait */
rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG));
    (1-1/1)