Searched defs:MAXHOSTNAMELEN (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A Dscan.c86 #if !defined(MAXHOSTNAMELEN)
87 #define MAXHOSTNAMELEN 32 macro
88 #endif /* !MAXHOSTNAMELEN */
738 if ((hostname = xf86confmalloc(MAXHOSTNAMELEN + 1))) {
739 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
740 hostname[MAXHOSTNAMELEN] = '\0';

Completed in 1702 milliseconds