Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtelnetd.c58 int buff1_written, buff2_written; member
351 if (tm->pty_fd > 0 && (tm->buff2_avail - tm->buff2_written) > 0) in telnetd_main()
397 if ((w = write(tm->pty_fd, tm->buff2+ tm->buff2_written, in telnetd_main()
398 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
399 tm->buff2_written += w; in telnetd_main()
402 if ((w = write(tm->pty_fd, tm->buff2 + tm->buff2_written, in telnetd_main()
403 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
404 tm->buff2_written += w; in telnetd_main()
413 if (tm->buff2_written == tm->buff2_avail) in telnetd_main()
414 tm->buff2_written = tm->buff2_avail = 0; in telnetd_main()