/* * Returns the machine hardware type, e.g. "i686". */ static VALUE uname_machine() { struct utsname u; uname(&u); return rb_str_new2(u.machine); }