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

/freebsd-12-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-12-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 DMakefile21 realhostname.c stub.c trimdomain.c uucplock.c
38 _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.h133 void trimdomain(char *_fullhost, int _hostsize);
/freebsd-12-stable/usr.bin/netstat/
H A Droute.c575 trimdomain(line, strlen(line));
660 trimdomain(cp, strlen(cp));
H A Dinet.c1469 trimdomain(cp, strlen(cp));
/freebsd-12-stable/release/picobsd/tinyware/login/
H A Dpico-login.c217 trimdomain(optarg, UT_HOSTSIZE);
/freebsd-12-stable/usr.sbin/syslogd/
H A Dsyslogd.c2231 trimdomain(hname, hl);
2860 trimdomain(f->f_host, hl);

Completed in 84 milliseconds