mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-04 03:50:35 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
<p>功能:分解字符串为一组标记串。s为要分解的字符串,delim为分隔符字符串。</p>
|
||||
|
||||
<p>说明:首次调用时,s必须指向要分解的字符串,随后调用要把s设成NULL。</p>
|
||||
<pre>
|
||||
<pre><code class="language-c">
|
||||
strtok在s中查找包含在delim中的字符并用NULL('\0')来替换,直到找遍整个字符串。
|
||||
返回指向下一个标记串。当没有标记串时则返回空字符NULL。
|
||||
</pre>
|
||||
</code></pre>
|
||||
|
||||
举例:<pre>
|
||||
举例:<pre><code class="language-c">
|
||||
|
||||
|
||||
// strtok.c
|
||||
@@ -41,5 +41,5 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
</pre>相关函数:<a href="strcspn.html">strcspn</a>,<a href="strpbrk.html">strpbrk</a>
|
||||
</code></pre>相关函数:<a href="strcspn.html">strcspn</a>,<a href="strpbrk.html">strpbrk</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user