Searched refs:nhost (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c266 char *host, *nhost, *p; local
296 nhost = NULL;
302 if ((flags & WHOIS_RECURSE) && nhost == NULL) {
312 s_asprintf(&nhost, "%.*s",
323 s_asprintf(&nhost, "%.*s",
331 s_asprintf(&nhost, "%s",
339 if (nhost != NULL) {
340 whois(query, nhost, 0);
341 free(nhost);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c97 nhost, phost,
100 nss_innetgr_argc ngroup, nhost, nuser, ndomain;
111 ia.arg[NSS_NETGR_MACHINE].argc = nhost;
/illumos-gate/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c182 int nhost; /* the number of hosts in hostpp */ local
203 nhost = searchhost(netconfigp, hostname, FIELD1, hostbuf);
204 if (nhost == 0) {
240 retp->h_cnt = nhost;
241 retp->h_hostservs = calloc(nhost, sizeof (struct nd_hostserv));
255 while (hostname && nhost--) {
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c315 int nhost; local
327 nhost = ia->arg[NSS_NETGR_MACHINE].argc;
330 nhost = 0;
367 "(nusers: %d, nhost:%d, ndomains: %d)",
368 nusers, nhost, ndomains);
372 if (nusers == 1 && nhost == 0 && ndomains == 0) {
418 } else if (nusers == 0 && nhost == 1 && ndomains == 0) {
470 if (thost != NULL && *thost != '\0' && nhost != 0) {
471 for (i = 0; i < nhost; i++)
474 if (i == nhost)
[all...]

Completed in 68 milliseconds