Home
last modified time | relevance | path

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

/third_party/toybox/toys/pending/
Dtelnetd.c58 int buff1_written, buff2_written; member
348 if (tm->pty_fd > 0 && (tm->buff2_avail - tm->buff2_written) > 0) in telnetd_main()
394 if ((w = write(tm->pty_fd, tm->buff2+ tm->buff2_written, in telnetd_main()
395 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
396 tm->buff2_written += w; in telnetd_main()
399 if ((w = write(tm->pty_fd, tm->buff2 + tm->buff2_written, in telnetd_main()
400 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
401 tm->buff2_written += w; in telnetd_main()
410 if (tm->buff2_written == tm->buff2_avail) in telnetd_main()
411 tm->buff2_written = tm->buff2_avail = 0; in telnetd_main()