Searched refs:bindname (Results 1 – 2 of 2) sorted by relevance
| /src/lib/libc/net/ |
| H A D | hesiod.c | 146 char bindname[MAXDNAME], *p, *ret, **rhs_list = NULL; in hesiod_to_bind() local 150 if (strlcpy(bindname, name, sizeof(bindname)) >= sizeof(bindname)) { in hesiod_to_bind() 159 p = strchr(bindname, '@'); in hesiod_to_bind() 163 rhs = name + (p - bindname); in hesiod_to_bind() 177 len = strlen(bindname) + 1 + strlen(type); in hesiod_to_bind() 181 if (len > sizeof(bindname) - 1) { in hesiod_to_bind() 188 strcat(bindname, "."); in hesiod_to_bind() 189 strcat(bindname, type); in hesiod_to_bind() 193 strcat(bindname, "."); in hesiod_to_bind() 194 strcat(bindname, ctx->lhs); in hesiod_to_bind() [all …]
|
| /src/usr.bin/hesinfo/ |
| H A D | hesinfo.c | 33 char **list, **p, *bindname, *name, *type; in main() local 70 bindname = hesiod_to_bind(context, name, type); in main() 71 if (!bindname) { in main() 80 printf("%s\n", bindname); in main() 81 free(bindname); in main()
|