1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

Added strtok

git-svn-id: svn://svn.cc65.org/cc65/trunk@3515 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-05-17 21:15:21 +00:00
parent c2140cdb08
commit 8016a18e92

View File

@ -479,7 +479,7 @@ It does not declare any functions.
<item><ref id="strrchr" name="strrchr">
<item><ref id="strspn" name="strspn">
<item><ref id="strstr" name="strstr">
<!-- <item><ref id="strtok" name="strtok"> -->
<item><ref id="strtok" name="strtok">
<!-- <item><ref id="strxfrm" name="strxfrm"> -->
<item><ref id="strupper" name="strupper">
<item><ref id="strupr" name="strupr">
@ -3945,7 +3945,8 @@ be used in presence of a prototype.
<tag/Availability/ISO 9899
<tag/See also/
<ref id="strspn" name="strspn">,
<ref id="strstr" name="strstr">
<ref id="strstr" name="strstr">,
<ref id="strtok" name="strtok">
<tag/Example/None.
</descrip>
</quote>
@ -4242,6 +4243,33 @@ be used in presence of a prototype.
</quote>
<sect1>strtok<label id="strtok"><p>
<quote>
<descrip>
<tag/Function/Break a string into tokens.
<tag/Header/<tt/<ref id="string.h" name="string.h">/
<tag/Declaration/<tt/char* __fastcall__ strtok (char* s1, const char* s2);/
<tag/Description/<tt/strtok/ will break the string s1 into a sequence of
tokens, which are delimited by characters from the string s2. The first call
to <tt/strtok/ will return a pointer to the first token in the string s1.
Following calls must pass a <tt/NULL/ pointer as s1 in order to get the next
token in the string. Different sets of delimiters may be used for the
subsequent calls to <tt/strtok/.
<tag/Limits/<itemize>
<item>The function is only available as fastcall function, so it may only
be used in presence of a prototype.
<item><tt/strtok/ will modify the string s1.
</itemize>
<tag/Availability/ISO 9899
<tag/See also/
<ref id="strcspn" name="strcspn">,
<!-- <ref id="strpbrk" name="strpbrk"> -->
<tag/Example/None.
</descrip>
</quote>
<sect1>strupper<label id="strupper"><p>
<quote>