gethostname
int gethostname(char *, size_t);
if (gethostname(hostname, sizeof(hostname)))
int gethostname();
gethostname(NameBuf, MAXBASENAME);
if (gethostname(hostname, MAXHOSTNAMELEN+1) < 0 ) {
(void) gethostname(hostname, MAXHOSTNAMELEN+1);
gethostname(host, sizeof (host));
if (gethostname(hbuf, MAXHOSTNAMELEN) == -1) {
(void) gethostname(local_host, sizeof (local_host));
(void) gethostname(hostname, sizeof (hostname));
if (gethostname(myname, MAXHOSTNAMELEN) == -1) {
if (gethostname(myname, sizeof (myname) - 1) < 0) {
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
if (gethostname((char *)chbuf, sizeof (chbuf)) != 0) {
if (gethostname(host, sizeof (host)) != 0) {
(void) gethostname(hostname, MAXHOSTNAMELEN + 1);
(void) gethostname(hostname, MAXHOSTNAMELEN + 1);
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
gethostname(me, MAXHOSTNAMELEN);
(void) gethostname(hostname, MAXHOSTNAMELEN);
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
(void) gethostname(hostname, MAXHOSTNAMELEN);
if (gethostname(c_hostname, sizeof (c_hostname)) < 0) {
gethostname(thishost, sizeof(thishost));
gethostname(hostnm, sizeof(hostnm) - 1);
if (gethostname(host_pname, NIS_MAXNAMELEN)
if (gethostname(hostname, MAXHOSTNAMELEN) < 0) {
if (gethostname(name, MAXHOSTNAMELEN) != 0)
(void) gethostname(myhostname, sizeof (myhostname));
if (gethostname(host, sizeof (host)) == 0)
if (gethostname(host,
(void) gethostname(local_host, MAXNAMELEN);
if (gethostname(s, sizeof (s)) == -1)
(void) gethostname(buf, sizeof (buf));
(void) gethostname(buf, sizeof (buf));
if (gethostname(buf, sizeof (buf)) == 0)
(void) gethostname(hostname, sizeof (hostname));
if (gethostname(host, sizeof host) < 0)
if (gethostname(hostbuf, size) < 0 || hostbuf[0] == '\0')
(void) gethostname(buf, sizeof(buf));
gethostname(myhostname, sizeof myhostname - 1);
if (gethostname(myNode, 255)) {
char *gethostname();
if (gethostname((char *)hostname, namelen) == -1)
if (gethostname(buf, MAXHOSTNAMELEN)) {
if (gethostname(host_name, MAXPATHLEN) != 0) {
if (gethostname(my_host_name, sizeof (my_host_name)) != 0) {
if (gethostname(my_host_name, sizeof (my_host_name)) != 0) {
if (! gethostname(default_host_name, 256)) {
extern int gethostname();
extern int gethostname();
if (gethostname(local_host_name, 256)) {
gethostname(inkey, 256);
extern int gethostname(char *, size_t);
extern int gethostname(char *, int);
(void) gethostname(host, MAXHOSTNAMELEN);
if (gethostname(localname, MAXHOSTNAMELEN))
(void) gethostname(host, MAXHOSTNAMELEN + 1);
if (gethostname(localname, MAXHOSTNAMELEN) != 0) {
if (gethostname (buf, bufsiz) == -1)
if (gethostname (host, sizeof(host))) {
if (gethostname(localname, MAXHOSTNAMELEN)) {
if (gethostname(buf, sizeof(buf)) < 0)
gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
if (gethostname(hostname, MAXHOSTNAMELEN)) {
if (gethostname(host, sizeof (host)) == -1) {
gethostname((char *)fullline,
gethostname((char *)fullline, sizeof (fullline));
gethostname(computername, sizeof (computername));
gethostname((char *)computername, sizeof (computername));
if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
extern int gethostname(char *, int);
if (gethostname(buf, sizeof (_res.defdname)) == 0 &&
gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
int gethostname(char *, int);
extern int gethostname(char *, size_t);
gethostname(name, MAXHOSTNAMELEN);
gethostname(name, MAXHOSTNAMELEN);
extern int gethostname(char *, int);
(void) gethostname(hostname, MAXHOSTNAMELEN);
(void) gethostname(hostname, MAXHOSTNAMELEN);
if (gethostname(buf, sizeof (buf)) != 0)
if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) {
if (gethostname(host, sizeof (host) - 1) == -1) {
if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
if (gethostname(thishost, sizeof (thishost)) == -1) {
if (gethostname(host, sizeof (host)) == 0)
gethostname(host, sizeof (host));
gethostname(host, sizeof (host));
if (gethostname(host, sizeof (host)) != 0)
extern int gethostname(char *, int);
if (gethostname(hostname, MAXHOSTNAMELEN) != 0)
(void) gethostname(hostname, MAXHOSTNAMELEN);
if (gethostname(buf, buflen) != 0) {
rc = gethostname(hostname, NAMELEN);
if (gethostname(localhost, LINE_LEN) != 0) {
(void) gethostname(my_hostname, sizeof (my_hostname));
(void) gethostname(hostname, sizeof (hostname));
extern int gethostname(char *, int);
(void) gethostname(hostname, sizeof (hostname));
extern int gethostname __P((char *, int ));