smb_gethostname
if (smb_gethostname(tmp_name, MAXHOSTNAMELEN, SMB_CASE_LOWER))
if (smb_gethostname(old_pw, sizeof (old_pw), SMB_CASE_LOWER) != 0)
(void) smb_gethostname(hostname, MAXHOSTNAMELEN,
if (smb_gethostname(hostname, MAXHOSTNAMELEN, 0) != 0) {
extern int smb_gethostname(char *, size_t, smb_caseconv_t);
if (smb_gethostname(buf, buflen, SMB_CASE_UPPER) != 0)
if (smb_gethostname(hostname, MAXHOSTNAMELEN,
if (smb_gethostname(iflist->if_host, sizeof (iflist->if_host),
if (smb_gethostname(fqhost, len, SMB_CASE_LOWER) != 0)
if (smb_gethostname(fqhn, MAXHOSTNAMELEN, SMB_CASE_LOWER) != 0)
if (smb_gethostname(fqhn, MAXHOSTNAMELEN, SMB_CASE_LOWER) != 0)
(void) smb_gethostname(hostname, MAXHOSTNAMELEN, SMB_CASE_LOWER);