Home
last modified time | relevance | path

Searched refs:ctrl_out (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c75 FILE *ctrl_in, *ctrl_out; variable
325 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 …]
H A Dmain.c307 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()
H A Dcmds.c1586 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()