Home | History | Annotate | Download | only in rcp

Lines Matching refs:rem

78 int errs, rem;
156 rem = STDIN_FILENO; /* XXX */
174 rem = -1;
257 if (rem == -1) {
263 rem = rcmd_af(&host, port, pwname,
266 if (rem < 0)
317 rem =
320 if (rem < 0) {
325 (void)close(rem);
326 rem = -1;
378 (void)write(rem, buf, strlen(buf));
385 (void)write(rem, buf, strlen(buf));
411 result = write(rem, cp, resid);
422 (void)write(rem, "", 1);
451 (void)write(rem, path, strlen(path));
459 (void)write(rem, path, strlen(path));
478 (void)write(rem, "E\n", 2);
521 (void)write(rem, "", 1);
526 if (read(rem, cp, 1) <= 0)
531 if (read(rem, &ch, sizeof(ch)) != sizeof(ch))
547 (void)write(rem, "", 1);
571 (void)write(rem, "", 1);
654 (void)write(rem, "", 1);
681 result = read(rem, cp, resid);
731 (void)write(rem, "", 1);
752 if (read(rem, &resp, sizeof(resp)) != sizeof(resp))
765 if (read(rem, &ch, sizeof(ch)) != sizeof(ch))
799 if (fp == NULL && !(fp = fdopen(rem, "w")))