Searched refs:ldomain (Results 1 – 2 of 2) sorted by relevance
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] = '\0'; in _checkhost()803 if ((domainp = index(ldomain, '.')) == NULL) { in _checkhost()