Home
last modified time | relevance | path

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

/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c272 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 Dres_data.c348 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 Dresolv.h96 char defdname[256]; /* default domain (deprecated) */ member