Searched refs:defdname (Results 1 – 3 of 3) sorted by relevance
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_init.c | 272 char buf[sizeof(statp->defdname)], *cp; in __res_vinit() 281 (void)strlcpy(statp->defdname, cp, in __res_vinit() 282 sizeof(statp->defdname)); in __res_vinit() 289 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 290 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 300 cp = statp->defdname; in __res_vinit() 347 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 348 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 349 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit() 363 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() [all …]
|
H A D | res_data.c | 348 if (!*_nres.defdname) in local_hostname_length() 351 len_domain = strlen(_nres.defdname); in local_hostname_length() 353 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()
|
/haiku/headers/posix/ |
H A D | resolv.h | 96 char defdname[256]; /* default domain (deprecated) */ member
|