Searched refs:in_buffer_full (Results 1 - 1 of 1) sorted by relevance

/systemd/src/shared/
H A Dptyfwd.c75 size_t in_buffer_full, out_buffer_full; member in struct:PTYForward
131 while ((f->stdin_readable && f->in_buffer_full <= 0) ||
132 (f->master_writable && f->in_buffer_full > 0) ||
136 if (f->stdin_readable && f->in_buffer_full < LINE_MAX) {
138 k = read(STDIN_FILENO, f->in_buffer + f->in_buffer_full, LINE_MAX - f->in_buffer_full);
163 if (look_for_escape(f, f->in_buffer + f->in_buffer_full, k))
166 f->in_buffer_full += (size_t) k;
170 if (f->master_writable && f->in_buffer_full > 0) {
172 k = write(f->master, f->in_buffer, f->in_buffer_full);
[all...]

Completed in 509 milliseconds