mirror of
https://github.com/MidnightCommander/source.git
synced 2026-02-02 11:11:55 -08:00
35 lines
3.4 KiB
HTML
35 lines
3.4 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title>ps</title>
|
|
<meta name='robots' content='noindex,nofollow' />
|
|
<meta name='generator' content='GLOBAL-6.6.11' />
|
|
<meta http-equiv='Content-Style-Type' content='text/css' />
|
|
<link rel='stylesheet' type='text/css' href='../style.css' />
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
<span class='curline'><a href='../S/lib--util.h.html#L235'>ps</a> 235 lib/util.h GString *mc_pstream_get_string (mc_pipe_stream_t *ps);</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L220'>ps</a> 220 lib/utilunix.c mc_pread_stream (mc_pipe_stream_t *ps, const fd_set *fds)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L225'>ps</a> 225 lib/utilunix.c if (!FD_ISSET (ps->fd, fds))</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L227'>ps</a> 227 lib/utilunix.c ps->len = MC_PIPE_STREAM_UNREAD;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L231'>ps</a> 231 lib/utilunix.c buf_len = (size_t) ps->len;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L234'>ps</a> 234 lib/utilunix.c buf_len = ps->null_term ? MC_PIPE_BUFSIZE - 1 : MC_PIPE_BUFSIZE;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L238'>ps</a> 238 lib/utilunix.c read_len = read (ps->fd, ps->buf, buf_len);</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L245'>ps</a> 245 lib/utilunix.c ps->len = MC_PIPE_ERROR_READ;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L246'>ps</a> 246 lib/utilunix.c ps->error = errno;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L250'>ps</a> 250 lib/utilunix.c ps->len = MC_PIPE_STREAM_EOF;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L254'>ps</a> 254 lib/utilunix.c ps->len = read_len;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L256'>ps</a> 256 lib/utilunix.c if (ps->null_term)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L257'>ps</a> 257 lib/utilunix.c ps->buf[(size_t) ps->len] = '\0';</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L260'>ps</a> 260 lib/utilunix.c ps->pos = 0;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L680'>ps</a> 680 lib/utilunix.c mc_pstream_get_string (mc_pipe_stream_t *ps)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L686'>ps</a> 686 lib/utilunix.c g_return_val_if_fail (ps != NULL, NULL);</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L688'>ps</a> 688 lib/utilunix.c if (ps->len < 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L691'>ps</a> 691 lib/utilunix.c size = ps->len - ps->pos;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L696'>ps</a> 696 lib/utilunix.c s = ps->buf + ps->pos;</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L708'>ps</a> 708 lib/utilunix.c ps->pos += i;</span>
|
|
</pre>
|
|
</body>
|
|
</html>
|