Lines Matching refs:ctrl_out

75 FILE	*ctrl_in, *ctrl_out;
325 ctrl_out = fdopen(s, "w");
326 if (ctrl_in == NULL || ctrl_out == NULL) {
330 if (ctrl_out)
331 (void) fclose(ctrl_out);
340 if (ctrl_out)
341 (void) fclose(ctrl_out);
342 ctrl_in = ctrl_out = NULL;
343 ctrl_in = ctrl_out = NULL;
461 if (ctrl_out == NULL) {
551 (void) fprintf(ctrl_out, "%c%c%wc", IAC,
553 (void) fflush(ctrl_out);
558 (void) fprintf(ctrl_out, "%c%c%wc", IAC,
560 (void) fflush(ctrl_out);
1385 (void) fprintf(ctrl_out, "%c%c", IAC, IP);
1386 (void) fflush(ctrl_out);
1392 if (send(fileno(ctrl_out), &msg, 1, MSG_OOB) != 1) {
1395 (void) fprintf(ctrl_out, "%cABOR\r\n", DM);
1396 (void) fflush(ctrl_out);
1801 ip->out = ctrl_out;
1802 ctrl_out = op->out;
2005 (void) fprintf(ctrl_out, "%c%c", IAC, IP);
2006 (void) fflush(ctrl_out);
2009 if (send(fileno(ctrl_out), msg, 2, MSG_OOB)
2012 (void) fprintf(ctrl_out, "ABOR\r\n");
2013 (void) fflush(ctrl_out);
2038 (void) fprintf(ctrl_out, "%c%c", IAC, IP);
2039 (void) fflush(ctrl_out);
2042 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) != 2)
2044 (void) fprintf(ctrl_out, "ABOR\r\n");
2045 (void) fflush(ctrl_out);
2082 (void) fprintf(ctrl_out, "%c%c", IAC, IP);
2083 (void) fflush(ctrl_out);
2086 if (send(fileno(ctrl_out), msg, 2, MSG_OOB)
2089 (void) fprintf(ctrl_out, "ABOR\r\n");
2090 (void) fflush(ctrl_out);
2115 (void) fprintf(ctrl_out, "%c%c", IAC, IP);
2116 (void) fflush(ctrl_out);
2119 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) != 2)
2121 (void) fprintf(ctrl_out, "ABOR\r\n");
2122 (void) fflush(ctrl_out);
2344 (void) fprintf(ctrl_out, "%s %s",
2360 fputs(cmd, ctrl_out);
2363 (void) fprintf(ctrl_out, "\r\n");
2364 (void) fflush(ctrl_out);