ps 235 lib/util.h GString *mc_pstream_get_string (mc_pipe_stream_t *ps); ps 220 lib/utilunix.c mc_pread_stream (mc_pipe_stream_t *ps, const fd_set *fds) ps 225 lib/utilunix.c if (!FD_ISSET (ps->fd, fds)) ps 227 lib/utilunix.c ps->len = MC_PIPE_STREAM_UNREAD; ps 231 lib/utilunix.c buf_len = (size_t) ps->len; ps 234 lib/utilunix.c buf_len = ps->null_term ? MC_PIPE_BUFSIZE - 1 : MC_PIPE_BUFSIZE; ps 238 lib/utilunix.c read_len = read (ps->fd, ps->buf, buf_len); ps 245 lib/utilunix.c ps->len = MC_PIPE_ERROR_READ; ps 246 lib/utilunix.c ps->error = errno; ps 250 lib/utilunix.c ps->len = MC_PIPE_STREAM_EOF; ps 254 lib/utilunix.c ps->len = read_len; ps 256 lib/utilunix.c if (ps->null_term) ps 257 lib/utilunix.c ps->buf[(size_t) ps->len] = '\0'; ps 260 lib/utilunix.c ps->pos = 0; ps 680 lib/utilunix.c mc_pstream_get_string (mc_pipe_stream_t *ps) ps 686 lib/utilunix.c g_return_val_if_fail (ps != NULL, NULL); ps 688 lib/utilunix.c if (ps->len < 0) ps 691 lib/utilunix.c size = ps->len - ps->pos; ps 696 lib/utilunix.c s = ps->buf + ps->pos; ps 708 lib/utilunix.c ps->pos += i;