gethostname
if (gethostname(hostbuf, sizeof(hostbuf) - 1) < 0)
if (gethostname(hostbuf, sizeof(hostbuf) - 1) < 0)
if (gethostname(hostname, (int)sizeof(hostname)))
gethostname(&ps[i], PROMPTLEN - i - 1);
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)
int gethostname(char *, size_t);
gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
if (gethostname(machname, sizeof machname) == -1)
gethostname(hostname, sizeof(hostname));
if (gethostname(myname, sizeof(myname)) < 0)
gethostname(pbuf + len, sizeof(pbuf) - len);
gethostname(hostname, sizeof hostname);
gethostname(hostname, sizeof(hostname));
gethostname(lhostname, sizeof(lhostname));
gethostname(hostname, sizeof(hostname));
gethostname(lhostname, sizeof(lhostname));
if (gethostname(domain, sizeof(domain) - 1) == 0 &&
if (gethostname(default_hostname, sizeof(default_hostname) - 1) < 0) {
gethostname(hostname, sizeof(hostname));
if (gethostname(name, sizeof(name)) != 0)
if (gethostname(hostname, MAXHOSTNAMELEN - 1) < 0)
if (gethostname(hostname, MAXHOSTNAMELEN - 1) < 0)
gethostname(hostname, sizeof(hostname) - 1);
if (gethostname(hostname, sizeof hostname))
if (gethostname(MyHost, MAXHOSTNAMELEN - 1) < 0) {
if (gethostname(hostname, sizeof(hostname) - 1) < 0) {
(void) gethostname(host_name, sizeof(host_name) - 1);
gethostname(spcl.c_host, NAMELEN);
if(gethostname(hostname, sizeof(hostname)) == 0)
if(gethostname(hostname, sizeof(hostname)) == 0)
if (gethostname(buf, sizeof(buf)) == 0) {
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
gethostname(myname, sizeof(myname)-1);
gethostname(hostname, sizeof(hostname));
if (gethostname(hostbuf, sizeof(hostbuf) - 1) < 0) {
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
if (gethostname(hostname, HOST_NAME_MAX) != 0) {
gethostname((char *)ary[2].data,
gethostname(hostname, sizeof(hostname) - 1);
if (gethostname(name, sizeof(name)))
gethostname(hostname, sizeof(hostname));
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
gethostname(hostname, sizeof hostname);
gethostname(hostname, sizeof(hostname));
gethostname(hostname, sizeof (hostname));
gethostname(hostname, sizeof (hostname));
gethostname(hbuf, sizeof(hbuf));
gethostname(local_host, sizeof(local_host));
if (gethostname(domain, sizeof(domain)) < 0 ||
(void)gethostname(hostname, sizeof(hostname));
if (gethostname(host, sizeof(host)) < 0)
gethostname(hostname, MAXHOSTNAMELEN);
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));
gethostname(host, sizeof(host));
gethostname(hostname, sizeof(hostname));
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)
gethostname(our_hostname, sizeof(our_hostname));
if (gethostname((char *)&myname, sizeof(myname)) == -1) {
if (gethostname(myname, sizeof(myname)) < 0)
if (gethostname(LocalHostName, sizeof(LocalHostName)))
if (gethostname(domain, sizeof domain) == 0 &&
if (gethostname(domain, sizeof(domain)) == 0 &&
if (gethostname((char *)&hname, sizeof(hname)) == -1)
if (gethostname ((char *)&myname, sizeof(myname))) {