Searched refs:sethostname (Results 1 - 12 of 12) sorted by relevance
/freebsd-11-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-11-stable/lib/libc/gen/ |
H A D | sethostname.c | 31 static char sccsid[] = "@(#)sethostname.c 8.1 (Berkeley) 6/4/93"; 42 sethostname(const char *name, int namelen) function
|
H A D | Makefile.inc | 109 sethostname.c \ 392 MLINKS+=gethostname.3 sethostname.3
|
/freebsd-11-stable/bin/hostname/ |
H A D | hostname.c | 88 if (sethostname(*argv, (int)strlen(*argv))) 89 err(1, "sethostname");
|
/freebsd-11-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-11-stable/include/ |
H A D | unistd.h | 560 int sethostname(const char *, int);
|
/freebsd-11-stable/sys/nfs/ |
H A D | bootp_subr.c | 187 struct bootpc_ifcontext *sethostname; member in struct:bootpc_globalcontext 1541 if (gctx->sethostname != NULL) { 1549 gctx->sethostname = ifctx;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | sys-protos.h | 980 extern int sethostname(char *, int);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_misc.c | 1821 if (ldebug(sethostname)) 1822 printf(ARGS(sethostname, "*, %i"), args->len);
|
/freebsd-11-stable/sys/kern/ |
H A D | init_sysent.c | 136 { compat(AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = old sethostname */
|
Completed in 146 milliseconds