myhostname
char myhostname[MAXHOSTNAMELEN];
sysinfo(SI_HOSTNAME, myhostname, sizeof (myhostname));
myhostname, argv[optind]);
ret = share_zap(myhostname, argv[optind]);
argv[optind], myhostname);
ret = share_zap(argv[optind], myhostname);
(void) gethostname(myhostname, sizeof (myhostname));
char myhostname[MAXHOSTNAMELEN] = {0};
progname, myhostname, time_buf);
extern char myhostname[];
hp = myhostname(hostbuf, sizeof(hostbuf));
hp = myhostname(jbuf, sizeof(jbuf));
extern struct hostent *myhostname __P((char *, int));
char myhostname[MAXHOSTNAMELEN];
gethostname(myhostname, sizeof myhostname - 1);
printf("220 %s LMTP ready\r\n", myhostname);
myhostname);
printf("250-%s\r\n", myhostname);
extern char myhostname[];