Searched refs:ctrl_out (Results 1 – 3 of 3) sorted by relevance
75 FILE *ctrl_in, *ctrl_out; variable325 ctrl_out = fdopen(s, "w"); in hookup()326 if (ctrl_in == NULL || ctrl_out == NULL) { in hookup()330 if (ctrl_out) in hookup()331 (void) fclose(ctrl_out); in hookup()340 if (ctrl_out) in hookup()341 (void) fclose(ctrl_out); in hookup()342 ctrl_in = ctrl_out = NULL; in hookup()343 ctrl_in = ctrl_out = NULL; in hookup()461 if (ctrl_out == NULL) { in command()[all …]
307 extern FILE *ctrl_out; in lostpeer()311 if (ctrl_out != NULL) { in lostpeer()312 (void) shutdown(fileno(ctrl_out), 1+1); in lostpeer()313 (void) fclose(ctrl_out); in lostpeer()314 ctrl_out = NULL; in lostpeer()329 if (ctrl_out != NULL) { in lostpeer()330 (void) shutdown(fileno(ctrl_out), 1+1); in lostpeer()331 (void) fclose(ctrl_out); in lostpeer()332 ctrl_out = NULL; in lostpeer()
1586 extern FILE *ctrl_in, *ctrl_out; in disconnect()1596 if (ctrl_out) { in disconnect()1598 (void) fclose(ctrl_out); in disconnect()1600 ctrl_out = ctrl_in = NULL; in disconnect()