ringqputstr.htm
来自「goahead是linux下的轻量级web服务器」· HTM 代码 · 共 67 行
HTM
67 行
<html>
<head>
<title>ringqPutstr -- basic</title>
<link rel="stylesheet" href="../../../style/doc.htm" type="text/css">
</head>
<body>
<table border=0 width=100% cellspacing=0 cellpadding=0>
<tr>
<td class=title-left><b> ringqPutstr</b></td>
<td class=title-center><b> basic</b></td>
<td class=title-right><B> EMF</B></td>
</tr>
</table>
<hr>
<h2>Synopsis</h2>
<p>Add a string to the queue</p>
<h2>Prototype</h2>
<pre>
int <b>ringqPutstr</b>(ringq_t *rq, char_t *str);,
</pre>
<h2>Parameters</h2>
<p>
<table width=90%>
<tr>
<td width=40>rq</td>
<td>The ringq returned from a previous call to ringqOpen</td>
</tr>
<tr>
<td width=40>str</td>
<td>String to add to the queue</td>
</tr>
</table>
</p>
<h2>Description</h2>
<p>
If dealing in wide strings you must explicitly put the trailing two nulls.
This routine will grow the q as required and correctly set endbuf and buf.
</p>
<h2>Return Value</h2>
<p>
Returns the number of bytes successfully added.
</p>
<h2>Example</h2>
<pre>
</pre>
<h2>See Also</h2>
<p>
<a href="ringqOpen.htm">ringqOpen</a>,
<a href="ringqPutc.htm">ringqPutc</a>,
<a href="ringqPutBlk.htm">ringqPutBlk</a>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?