Home
last modified time | relevance | path

Searched refs:ldomain (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Drcmd.c473 static char ldomain[MAXHOSTNAMELEN + 1]; in _checkhost() local
489 if (gethostname(ldomain, sizeof(ldomain)) == -1) { in _checkhost()
493 ldomain[MAXHOSTNAMELEN] = (char) 0; in _checkhost()
494 if ((domainp = index(ldomain, '.')) == (char *)NULL) { in _checkhost()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c773 static char *ldomain; in _checkhost() local
778 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()