ps 241 lib/util.h GString *mc_pstream_get_string (mc_pipe_stream_t *ps); ps 235 lib/utilunix.c mc_pread_stream (mc_pipe_stream_t *ps, const fd_set *fds) ps 240 lib/utilunix.c if (!FD_ISSET (ps->fd, fds)) ps 242 lib/utilunix.c ps->len = MC_PIPE_STREAM_UNREAD; ps 246 lib/utilunix.c buf_len = (size_t) ps->len; ps 249 lib/utilunix.c buf_len = ps->null_term ? MC_PIPE_BUFSIZE - 1 : MC_PIPE_BUFSIZE; ps 253 lib/utilunix.c read_len = read (ps->fd, ps->buf, buf_len); ps 260 lib/utilunix.c ps->len = MC_PIPE_ERROR_READ; ps 261 lib/utilunix.c ps->error = errno; ps 265 lib/utilunix.c ps->len = MC_PIPE_STREAM_EOF; ps 269 lib/utilunix.c ps->len = read_len; ps 271 lib/utilunix.c if (ps->null_term) ps 272 lib/utilunix.c ps->buf[(size_t) ps->len] = '\0'; ps 275 lib/utilunix.c ps->pos = 0; ps 708 lib/utilunix.c mc_pstream_get_string (mc_pipe_stream_t *ps) ps 714 lib/utilunix.c g_return_val_if_fail (ps != NULL, NULL); ps 716 lib/utilunix.c if (ps->len < 0) ps 719 lib/utilunix.c size = ps->len - ps->pos; ps 724 lib/utilunix.c s = ps->buf + ps->pos; ps 736 lib/utilunix.c ps->pos += i;