/* * Returns the name of the Secure Remote Procedure Call domain, if any. */ static VALUE uname_srpc_domain() { char buf[BUFSIZE]; sysinfo(SI_SRPC_DOMAIN, buf, BUFSIZE); return rb_str_new2(buf); }