Searched refs:ctrl_out (Results 1 – 3 of 3) sorted by relevance
72 FILE *ctrl_in, *ctrl_out; variable322 ctrl_out = fdopen(s, "w"); in hookup()323 if (ctrl_in == NULL || ctrl_out == NULL) { in hookup()327 if (ctrl_out) in hookup()328 (void) fclose(ctrl_out); in hookup()337 if (ctrl_out) in hookup()338 (void) fclose(ctrl_out); in hookup()339 ctrl_in = ctrl_out = NULL; in hookup()340 ctrl_in = ctrl_out = NULL; in hookup()458 if (ctrl_out == NULL) { in command()[all …]
378 extern FILE *ctrl_out; in lostpeer()382 if (ctrl_out != NULL) { in lostpeer()383 (void) shutdown(fileno(ctrl_out), 1+1); in lostpeer()384 (void) fclose(ctrl_out); in lostpeer()385 ctrl_out = NULL; in lostpeer()400 if (ctrl_out != NULL) { in lostpeer()401 (void) shutdown(fileno(ctrl_out), 1+1); in lostpeer()402 (void) fclose(ctrl_out); in lostpeer()403 ctrl_out = NULL; in lostpeer()
1583 extern FILE *ctrl_in, *ctrl_out; in disconnect()1593 if (ctrl_out) { in disconnect()1595 (void) fclose(ctrl_out); in disconnect()1597 ctrl_out = ctrl_in = NULL; in disconnect()