gethostname
if (gethostname(hostname, (int)sizeof(hostname)))
gethostname(&ps[i], PROMPTLEN - i - 1);
if (gethostname (hostname_str, sz) < 0) {
gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof(hostname));
if(gethostname (hostname, sizeof(hostname)) < 0)
gethostname(name, sizeof(name));
gethostname (local_hostname, sizeof(local_hostname));
gethostname(name, sizeof(name));
gethostname(lhostname, sizeof(lhostname));
gethostname(lhostname, sizeof(lhostname));
gethostname(lhostname, sizeof(lhostname));
gethostname(hbuf, 256);
gethostname(local_host, sizeof(local_host));
gethostname(host_name, sizeof (host_name));
if(gethostname (hostname, sizeof(hostname)) < 0)
if (gethostname(hostname, sizeof(hostname)) != 0) {
gethostname(hostname, sizeof(hostname));
if (gethostname (hostname, sizeof(hostname))) {
if (gethostname (hostname, sizeof(hostname))) {
ret = gethostname(localhost, sizeof(localhost) - 1);
if (gethostname (local_hostname, sizeof(local_hostname)) < 0) {
if (gethostname(my_hostname, sizeof(my_hostname)) < 0) {
if (gethostname(log_control.log_hostname, MAXHOSTNAMELEN) == -1) {
r = gethostname(hostname, sizeof(hostname));
if (gethostname(buf, sizeof(buf)) == -1)
if (gethostname (host, sizeof(host))) {
if (gethostname(localname, MAXHOSTNAMELEN) != 0)
if (gethostname(machname, MAX_MACHINE_NAME) == -1)
retval = gethostname(hostname, sizeof(hostname));
if (gethostname(myname, sizeof(myname)) == -1) {
if (gethostname(lname, HOST_NAME_MAX)) {
if (gethostname(thishost, sizeof(thishost)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(hostname, sizeof(hostname)) == -1)
if (gethostname(thishost, sizeof(thishost)) == -1)
__ssp_redirect(int, gethostname, (char *__buf, size_t __len), (__buf, __len));
int gethostname(char *, size_t);
__ssp_real(gethostname)(char *name, size_t namelen)
(void)gethostname(hostname, sizeof(hostname));
gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
if (gethostname(machname, sizeof machname) == -1)
(void) gethostname(hostname, sizeof(hostname));
gethostname(__stack.__buf, __len);
gethostname(__stack.__buf, __len);
gethostname(__stack.__buf, __len);
gethostname(__stack.__buf, __len);
gethostname(__stack.__buf, __len);
if (gethostname(myname, sizeof(myname)) < 0)
gethostname(pbuf + len, sizeof(pbuf) - len);
gethostname(hostname, sizeof hostname);
if (gethostname(host, sizeof host) != -1) {
__ssp_real(gethostname)(char *name, size_t namelen)
__ssp_real(gethostname)(char *name, size_t namelen)
if (gethostname(domain, sizeof(domain) - 1) == 0 &&
if (gethostname(default_hostname, sizeof(default_hostname) - 1) < 0) {
(void)gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof(hostname) - 1);
if (gethostname(hostname, sizeof hostname))
if (gethostname(MyHost, MAXHOSTNAMELEN - 1) < 0) {
if (gethostname(hostname, sizeof(hostname) - 1) < 0) {
if (gethostname(hostname, sizeof(hostname)) < 0)
(void)gethostname(spcl.c_host, NAMELEN);
if (gethostname(buf, sizeof(buf)) < 0) {
if (gethostname(buf, sizeof(buf)) < 0) {
extern int gethostname(char *, int );
gethostname(hostnm, sizeof(hostnm) - 1);
gethostname(host, sizeof(host));
gethostname(host, sizeof(host));
gethostname(thishost, sizeof(thishost));
gethostname(hostname, MAXHOSTNAMELEN) == 0) {
if (gethostname(domain_storage,
(void)gethostname(myname, sizeof(myname)-1);
(void)gethostname(hostname, sizeof(hostname));
{ compat(AS(ogethostname_args),gethostname), .sy_auevent = AUE_SYSCTL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 87 = old gethostname */
{ compat(AS(ogethostname_args),gethostname), .sy_auevent = AUE_SYSCTL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 87 = old gethostname */
ATF_TC_WITHOUT_HEAD(gethostname);
ATF_TC_BODY(gethostname, tc)
ATF_TP_ADD_TC(tp, gethostname);
gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof(hostname));;
gethostname(hostname, sizeof(hostname));
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
error = gethostname(name + strlen(DEFAULT_IQN),
if (gethostname(name, sizeof(name)))
gethostname(hostname, sizeof(hostname));
(void )gethostname(hbuf, MAXHOSTNAMELEN);
if (gethostname(domain, sizeof(domain)) == 0 &&
gethostname(hostname, sizeof hostname);
gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof (hostname));
gethostname(hostname, sizeof (hostname));
(void)gethostname(hostname, sizeof(hostname));
if (gethostname(host, sizeof(host)) < 0)
if (gethostname(hostname, sizeof(hostname)))
if (gethostname(hostname, MAXHOSTNAMELEN) == -1)
error = gethostname(hostname, sizeof(hostname));
error = gethostname(hostname, sizeof(hostname));
error = gethostname(hostname, sizeof(hostname));
gethostname(thishost, sizeof(thishost));
gethostname(lclhost, sizeof(lclhost));
gethostname(local_host, sizeof(local_host));
gethostname(class, sizeof(class));
if (gethostname(local_host, sizeof(local_host)))
gethostname(local_host, sizeof(local_host));
gethostname(local_host, sizeof(local_host));
(void)gethostname(hostname, sizeof(hostname));
if (gethostname(myname, MAXHOSTNAMELEN) >= 0) {
gethostname(hostname, sizeof (hostname));
if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
if (gethostname(name, sizeof name) == 0) {
if (gethostname(shostname, sizeof shostname) || *shostname == '\0')
if (gethostname(hostname, sizeof hostname) != 0)
if (gethostname(hostname, sizeof hostname) != 0)
(void)gethostname(hostname, sizeof(hostname) - 1);
gethostname(our_hostname, sizeof(our_hostname));
if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
if (gethostname((char *)&myname, sizeof(myname)) == -1) {
if (gethostname(myname, sizeof(myname) - 1) < 0) {
if (gethostname(LocalHostName, sizeof(LocalHostName)))
if (gethostname(domain, sizeof(domain) - 1) < 0)
if (gethostname(domain, sizeof(domain)) == 0 &&
if (gethostname((char *)&hname, sizeof(hname)) == -1)
if (gethostname(master, sizeof(master)) == 0) {
if (gethostname ((char *)&myname, sizeof(myname))) {