Home
last modified time | relevance | path

Searched refs:myhost (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drwho.c57 char myhost[32]; member
131 (void) strncpy(mp->myhost, w->wd_hostname, in main()
132 sizeof (mp->myhost)); in main()
141 int j = strlen(mp->myhost) + 1 + strlen(mp->myutmp.out_line); in main()
150 sizeof (mp->myhost), mp->myhost, in main()
185 rc = strncmp(u1->myhost, u2->myhost, sizeof (u1->myhost)); in utmpcmp()
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-hostname.sh90 myhost=$1
93 myipaddr=`getent hosts $myhost | head -1 | awk '{print $1}'`
108 echo "$myipaddr $myhost $*\n"
113 echo "$myipaddr $myhost $myhost.$suggested_domain $*"