Searched refs:ldomain (Results 1 – 3 of 3) sorted by relevance
349 static char *ldomain; in _checkhost() local354 if (ldomain == NULL) { in _checkhost()355 ldomain = (char *)malloc(MAXHOSTNAMELEN+1); in _checkhost()356 if (ldomain == 0) in _checkhost()374 if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) { in _checkhost()378 ldomain[MAXHOSTNAMELEN] = NULL; in _checkhost()379 if ((domainp = index(ldomain, '.')) == (char *)NULL) { in _checkhost()
473 static char ldomain[MAXHOSTNAMELEN + 1]; in _checkhost() local489 if (gethostname(ldomain, sizeof(ldomain)) == -1) { in _checkhost()493 ldomain[MAXHOSTNAMELEN] = (char) 0; in _checkhost()494 if ((domainp = index(ldomain, '.')) == (char *)NULL) { in _checkhost()
773 static char *ldomain; in _checkhost() local778 if (ldomain == NULL) { in _checkhost()779 ldomain = (char *)malloc(MAXHOSTNAMELEN+1); in _checkhost()780 if (ldomain == 0) in _checkhost()798 if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) { in _checkhost()802 ldomain[MAXHOSTNAMELEN] = NULL; in _checkhost()803 if ((domainp = index(ldomain, '.')) == (char *)NULL) { in _checkhost()