Lines Matching defs:host
100 char *args, *host, *p, *user;
105 host = user = NULL;
107 /* if called as something other than "rsh", use it as the host name */
113 host = p;
117 /* handle "rsh host flags" */
118 if (!host && argc > 2 && argv[1][0] != '-') {
119 host = argv[1];
157 /* if haven't gotten a host yet, do so */
158 if (!host && !(host = argv[optind++]))
189 rem = rcmd_af(&host, sp->s_port, pw->pw_name, user, args, &rfd2,
374 "usage: rsh [-46dn] [-l username] [-t timeout] host [command]\n");