Searched refs:sethostname (Results 1 - 11 of 11) sorted by relevance
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sethostname.c | 53 atf_tc_set_md_var(tc, "descr", "A basic test of sethostname(3)"); 76 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i]) - 1) == 0); 79 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0); 85 (void)sethostname(host, sizeof(host)); 90 (void)sethostname(host, sizeof(host)); 106 ATF_REQUIRE(sethostname(name, sizeof(name)) == -1); 112 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN - 1 ) == 0); 113 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN) == -1); 115 (void)sethostname(host, sizeof(host)); 130 ATF_REQUIRE_ERRNO(EPERM, sethostname(hos [all...] |
/freebsd-12-stable/lib/libc/gen/ |
H A D | sethostname.c | 33 __SCCSID("@(#)sethostname.c 8.1 (Berkeley) 6/4/93"); 42 sethostname(const char *name, int namelen) function
|
H A D | Makefile.inc | 119 sethostname.c \ 416 MLINKS+=gethostname.3 sethostname.3
|
/freebsd-12-stable/bin/hostname/ |
H A D | hostname.c | 90 if (sethostname(*argv, (int)strlen(*argv))) 91 err(1, "sethostname");
|
/freebsd-12-stable/contrib/gcclibs/libmudflap/ |
H A D | mf-runtime.h | 196 #pragma redefine_extname sethostname __mfwrap_sethostname
|
H A D | mf-hooks2.c | 1438 WRAPPER2(int, sethostname, const char *name, size_t len) 1441 MF_VALIDATE_EXTENT (name, len, __MF_CHECK_READ, "sethostname name"); 1442 return sethostname (name, len);
|
H A D | configure | 4104 for ac_func in strnlen memrchr strncpy memmem sethostname
|
/freebsd-12-stable/include/ |
H A D | unistd.h | 567 int sethostname(const char *, int);
|
/freebsd-12-stable/sys/nfs/ |
H A D | bootp_subr.c | 188 struct bootpc_ifcontext *sethostname; member in struct:bootpc_globalcontext 1543 if (gctx->sethostname != NULL) { 1551 gctx->sethostname = ifctx;
|
/freebsd-12-stable/contrib/gcc/ |
H A D | sys-protos.h | 980 extern int sethostname(char *, int);
|
/freebsd-12-stable/sys/kern/ |
H A D | init_sysent.c | 140 { compat(AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = old sethostname */
|
Completed in 206 milliseconds