Searched defs:hostname (Results 1 - 4 of 4) sorted by relevance
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/ |
H A D | XGrabWin.c | 71 char hostname[64]; local 73 gethostname(hostname,64); 76 strncmp(hostname,dpy->display_name,strlen(hostname))) {
|
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | scan.c | 627 * %H hostname 687 static char *hostname = NULL; local 737 if (!hostname) { 738 if ((hostname = xf86confmalloc(MAXHOSTNAMELEN + 1))) { 739 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) { 740 hostname[MAXHOSTNAMELEN] = '\0'; 742 xf86conffree(hostname); 743 hostname = NULL; 747 if (hostname) 748 APPEND_STR(hostname); [all...] |
/solaris-x11-s12/open-src/lib/libdga/sun-src/ |
H A D | dga_Xrequests.c | 191 char hostname[256]; local 235 hostlen = _XGetHostname(hostname, sizeof(hostname)); 238 if (getaddrinfo(hostname, NULL, NULL, &localhostaddr) != 0) 294 if (strncmp(hostname, phost->h_name, MIN(phostlen, hostlen)))
|
/solaris-x11-s12/open-src/app/xlock/sun-src/ |
H A D | resource.c | 585 char hostname[MAXHOSTNAMELEN]; local 587 if (gethostname(hostname, MAXHOSTNAMELEN)) 588 error("Can't get local hostname.\n"); 591 if (getaddrinfo(hostname, NULL, NULL, &localhostaddr) != 0) 592 error("Can't get address information for %s.\n", hostname); 640 if (!(host = gethostbyname(hostname))) 644 error("Unknown address type for %s.\n", hostname); 660 * will have only the hostname/ip_address form.
|
Completed in 336 milliseconds