#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/>