Ah, okay. I tackled this problem under Linux once from C (no Ruby involved at all). I ended up using some non-posix call, but it wasn't too bad. I guess I just assumed other OS's wouldn't be too painful either. =\
Toph On 11/14/06, Erik Hollensbe <[EMAIL PROTECTED]> wrote:
On Nov 14, 2006, at 12:29 PM, Topher Cyll wrote: > Erik, > > Was this using a C module or Ruby DL? > > In general, I've found Ruby DL to be almost painless. RubyInline::C > was not bad either. Obviously never tried using them on this > particular problem, though. Linking to ruby is not the problem. Navigating the kernel structures is the problem (notably on BSD). -- Erik Hollensbe [EMAIL PROTECTED] _______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
_______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
