Searched refs:trimdomain (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/lib/libutil/tests/
H A DMakefile8 TAP_TESTS_C+= trimdomain-nodomain_test
H A Dtrimdomain-nodomain_test.c46 * Evily override gethostname(3) so trimdomain always gets the same result.
67 trimdomain(testhost, hostsize < 0 ? (int)strlen(testhost) : hostsize);
H A Dtrimdomain_test.c46 * Evily override gethostname(3) so trimdomain always gets the same result.
67 trimdomain(testhost, hostsize < 0 ? (int)strlen(testhost) : hostsize);
/freebsd-13-stable/lib/libutil/
H A Dtrimdomain.c50 * trimdomain("abcde.my.domain", 5) -> "abcde"
51 * trimdomain("abcde.my.domain", 4) -> "abcde.my.domain"
52 * trimdomain("abcde.my.domain:0.0", 9) -> "abcde:0.0"
53 * trimdomain("abcde.my.domain:0.0", 8) -> "abcde.my.domain:0.0"
56 trimdomain(char *fullhost, int hostsize) function
H A DMakefile23 realhostname.c stub.c trimdomain.c uucplock.c
40 _secure_path.3 trimdomain.3 uucplock.3 pw_util.3
H A Drealhostname.c62 trimdomain(trimmed, strlen(trimmed));
180 trimdomain(buf, hsize);
H A Dlibutil.h135 void trimdomain(char *_fullhost, int _hostsize);
/freebsd-13-stable/usr.bin/netstat/
H A Droute.c509 trimdomain(line, strlen(line));
594 trimdomain(cp, strlen(cp));
H A Dinet.c1490 trimdomain(cp, strlen(cp));
/freebsd-13-stable/usr.sbin/syslogd/
H A Dsyslogd.c2314 trimdomain(hname, hl);
2943 trimdomain(f->f_host, hl);

Completed in 179 milliseconds