Files
source/Y/ps.html
github-actions[bot] 08571174ab Deploy to GitHub Pages
2026-02-01 17:32:02 +00:00

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-&gt;fd, fds))</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L227'>ps</a> 227 lib/utilunix.c ps-&gt;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-&gt;len;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L234'>ps</a> 234 lib/utilunix.c buf_len = ps-&gt;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-&gt;fd, ps-&gt;buf, buf_len);</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L245'>ps</a> 245 lib/utilunix.c ps-&gt;len = MC_PIPE_ERROR_READ;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L246'>ps</a> 246 lib/utilunix.c ps-&gt;error = errno;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L250'>ps</a> 250 lib/utilunix.c ps-&gt;len = MC_PIPE_STREAM_EOF;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L254'>ps</a> 254 lib/utilunix.c ps-&gt;len = read_len;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L256'>ps</a> 256 lib/utilunix.c if (ps-&gt;null_term)</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L257'>ps</a> 257 lib/utilunix.c ps-&gt;buf[(size_t) ps-&gt;len] = '\0';</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L260'>ps</a> 260 lib/utilunix.c ps-&gt;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-&gt;len &lt; 0)</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L691'>ps</a> 691 lib/utilunix.c size = ps-&gt;len - ps-&gt;pos;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L696'>ps</a> 696 lib/utilunix.c s = ps-&gt;buf + ps-&gt;pos;</span>
<span class='curline'><a href='../S/lib--utilunix.c.html#L708'>ps</a> 708 lib/utilunix.c ps-&gt;pos += i;</span>
</pre>
</body>
</html>