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)
5709 5709

  
5710 5710
    rb_mProcess = rb_define_module("Process");
5711 5711

  
5712
    rb_define_const(rb_mProcess, "EXIT_SUCCESS", INT2FIX(EXIT_SUCCESS));
5713
    rb_define_const(rb_mProcess, "EXIT_FAILURE", INT2FIX(EXIT_FAILURE));
5714

  
5712 5715
#ifdef WNOHANG
5713 5716
    /* see Process.wait */
5714 5717
    rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG));