Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libbc/libc/net/
H A Drcmd.c349 static char *ldomain; in _checkhost() local
354 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()
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/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] = NULL; in _checkhost()
803 if ((domainp = index(ldomain, '.')) == (char *)NULL) { in _checkhost()