[MacRuby] #1160: Need ability to access errno from Ruby code

MacRuby ruby-noreply at macosforge.org
Wed Feb 9 22:45:01 PST 2011


#1160: Need ability to access errno from Ruby code
--------------------------------------+-------------------------------------
 Reporter:  warpflyght@…              |       Owner:  lsansonetti@…        
     Type:  enhancement               |      Status:  new                  
 Priority:  minor                     |   Milestone:                       
Component:  MacRuby                   |    Keywords:                       
--------------------------------------+-------------------------------------

Comment(by warpflyght@…):

 My use case: calling openpty(3), then handling any errors that might
 result. I'll just wind up raising SystemCallError to emulate other Ruby
 APIs, but I need the errno value first. (The Ruby PTY library doesn't meet
 my needs in this case, and because I'm building a command-line tool, I'm
 trying to avoid native code.)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1160#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list