/* * Returns the name of the hardware manufacturer. */ static VALUE uname_hw_provider() { char buf[BUFSIZE]; sysinfo(SI_HW_PROVIDER, buf, BUFSIZE); return rb_str_new2(buf); }