gethostname 3099 ext/socket/socket.c if (gethostname(buf, (int)sizeof buf - 1) < 0) gethostname 2775 win32/win32.c r = gethostname(name, len);