gethostname
gethostname(hostname, sizeof hostname);
if (gethostname(hostname, sizeof(hostname)))
gethostname(strbuf, sizeof strbuf);
gethostname(strbuf, sizeof strbuf);
int gethostname(char *, size_t)
if (gethostname(buf, sizeof buf) == 0) {
DEF_WEAK(gethostname);
PROTO_NORMAL(gethostname);
if (gethostname(machname, sizeof machname) == -1)
if (gethostname(pbuf, sizeof(pbuf)) == -1)
(void)gethostname(hostname, sizeof(hostname));
(void) gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof(hostname));
if (gethostname(hostname, sizeof(hostname)) ==
if (gethostname(hostname, sizeof(hostname)))
if (gethostname(hostname, sizeof hostname) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1) {
if (gethostname(dhcp_hostname + 2,
(void)gethostname(spcl.c_host, sizeof(spcl.c_host));
if (gethostname((char *)polid->id_data,
if (gethostname(myname, sizeof(myname)) == -1)
if (gethostname(domain, sizeof(domain)) == 0 &&
(void)gethostname(hostname, sizeof(hostname));
gethostname(prompt, sizeof(prompt) - 2);
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(thishost, sizeof(thishost)) == -1)
if (gethostname(thishost, sizeof(thishost)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1) {
if (gethostname(host, sizeof(host)))
if (gethostname(myname, sizeof(myname)) == -1)
gethostname(host_name, sizeof(host_name));
if (gethostname(name, sizeof(name)))
gethostname(hostname, sizeof(hostname));
if (gethostname(localhost, sizeof(localhost)) == -1) {
if (gethostname(domain, sizeof(domain)) == 0 &&
if (gethostname(domain, sizeof(domain)) == 0 &&
if (gethostname(domain, sizeof(domain)) == 0 &&
(void)gethostname(hostname, sizeof(hostname));
gethostname(host, sizeof(host));
if (gethostname(mbuf, sizeof(mbuf)) == 0) {
(void)gethostname(hostname, sizeof(hostname));
if (hostname[0] == '\0' && gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(myname, sizeof(myname)) == -1) {
if (gethostname(lname, sizeof(lname))) {
if (gethostname(hostname, sizeof(hostname)) == -1) {
(void)gethostname(thishost, sizeof(thishost));
if (gethostname(thishost, sizeof(thishost)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(thishost, sizeof(thishost)) == -1)
gethostname(hostname, sizeof (hostname));
gethostname(hostname, sizeof (hostname));
gethostname(hbuf, sizeof hbuf);
if (gethostname(host, sizeof host) != 0)
if (gethostname(host, sizeof host) != 0)
if (gethostname(host, sizeof host) == 0)
gethostname(buf, sizeof(buf));
(void)gethostname(host, sizeof(host));
if (gethostname(domain, sizeof(domain)) == -1 ||
(void)gethostname(hostname, sizeof(hostname));
gethostname(buf, sizeof(buf));
if (gethostname(host, sizeof(host)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1) {
if (gethostname(hostname, sizeof(hostname)))
if (gethostname(hostname, sizeof(hostname)) != 0)
gethostname(hostname, sizeof(hostname));
if (gethostname(hostname, sizeof(hostname)))
if (gethostname(hostname, sizeof(hostname)))
gethostname(lpd_hostname, HOST_NAME_MAX + 1);
gethostname(lpd_hostname, HOST_NAME_MAX+1);
gethostname(host, sizeof(host));
gethostname(class, sizeof(class));
if (gethostname(host, sizeof(host)) != 0)
gethostname(host, sizeof (host));
gethostname(host, sizeof(host));
i = gethostname(hname, sizeof(hname));
(void)gethostname(host, sizeof(host));
gethostname(hbuf, sizeof(hbuf));
gethostname(_this->myname, sizeof(_this->myname));
if (gethostname(buf, MAXHOSTNAMELEN) == 0) {
if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
if (gethostname(hostname, sizeof hostname) < 0 ) {
gethostname(hostname, MAXNAMELEN);
gethostname(MyHost, HOST_NAME_MAX+1);
gethostname(our_hostname, sizeof(our_hostname));
gethostname(hn, sizeof hn);
if (gethostname(hostname, sizeof(hostname)))
gethostname(hn, sizeof hn);
if (gethostname(hostname, sizeof hostname) != 0)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(hostname, len) == -1) {
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1) {
if (gethostname(LocalHostName, sizeof(LocalHostName)) == -1 ||
if (gethostname(domain, sizeof(domain)) == 0 &&
if (gethostname(buf, MAXHOSTNAMELEN) == 0) {
if (gethostname(buf, MAXHOSTNAMELEN) == 0) {
if (gethostname(master, sizeof(master)) == 0) {
gethostname(myname, sizeof(myname));
gethostname(myname, sizeof(myname));