Lines Matching refs:netname
41 * netname utility routines (getnetname, user2netname, host2netname).
112 user2netname_nis(int *err, char netname[MAXNETNAMELEN + 1], uid_t uid,
129 (void) snprintf(netname, MAXNETNAMELEN + 1,
131 i = strlen(netname);
132 if (netname[i-1] == '.')
133 netname[i-1] = '\0';
169 * (Unless the netname is "nobody", which is special cased).
177 user2netname(char netname[MAXNETNAMELEN + 1], const uid_t uid,
193 (void) strlcpy(netname, "nobody", sizeof (netname));
197 netname[0] = '\0'; /* make null first (no need for memset) */
202 * occurs when a process requires a netname which
203 * itself requires a netname to look up. As we clearly
206 (void) strlcpy(netname, "nobody", sizeof (netname));
222 netname, uid, (char *)domain);
256 * host domain netname
268 host2netname(char netname[MAXNETNAMELEN + 1], const char *host,
278 netname[0] = '\0'; /* make null first (no need for memset) */
337 (void) snprintf(netname, MAXNETNAMELEN + 1,