mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 01:31:55 +00:00
Add doc
This commit is contained in:
parent
a823d90082
commit
793aa48a49
@ -780,6 +780,7 @@ communication, see also <tt>testcode/lib/ser-test.c</tt>.
|
|||||||
<item><ref id="strqtok" name="strqtok">
|
<item><ref id="strqtok" name="strqtok">
|
||||||
<item><ref id="strrchr" name="strrchr">
|
<item><ref id="strrchr" name="strrchr">
|
||||||
<item><ref id="strspn" name="strspn">
|
<item><ref id="strspn" name="strspn">
|
||||||
|
<item><ref id="strcasestr" name="strcasestr">
|
||||||
<item><ref id="strstr" name="strstr">
|
<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="strxfrm" name="strxfrm">
|
||||||
@ -7899,22 +7900,47 @@ be used in presence of a prototype.
|
|||||||
</quote>
|
</quote>
|
||||||
|
|
||||||
|
|
||||||
<sect1>strstr<label id="strstr"><p>
|
<sect1>strcasestr<label id="strcasestr"><p>
|
||||||
|
|
||||||
<quote>
|
<quote>
|
||||||
<descrip>
|
<descrip>
|
||||||
<tag/Function/Find a substring.
|
<tag/Function/Find a substring, case-insensitive.
|
||||||
<tag/Header/<tt/<ref id="string.h" name="string.h">/
|
<tag/Header/<tt/<ref id="string.h" name="string.h">/
|
||||||
<tag/Declaration/<tt/char* __fastcall__ strstr (const char* str, const char* substr);/
|
<tag/Declaration/<tt/char* __fastcall__ strcasestr (const char* str, const char* substr);/
|
||||||
<tag/Description/<tt/strstr/ searches for the first occurrence of the string
|
<tag/Description/<tt/strcasestr/ searches for the first occurrence of the string
|
||||||
<tt/substr/ within <tt/str/. If found, it returns a pointer to the copy,
|
<tt/substr/ within <tt/str/. If found, it returns a pointer to the start of the
|
||||||
otherwise it returns <tt/NULL/.
|
match in <tt/str/, otherwise it returns <tt/NULL/.
|
||||||
<tag/Notes/<itemize>
|
<tag/Notes/<itemize>
|
||||||
<item>The function is only available as fastcall function, so it may only
|
<item>The function is only available as fastcall function, so it may only
|
||||||
be used in presence of a prototype.
|
be used in presence of a prototype.
|
||||||
</itemize>
|
</itemize>
|
||||||
<tag/Availability/ISO 9899
|
<tag/Availability/ISO 9899
|
||||||
<tag/See also/
|
<tag/See also/
|
||||||
|
<ref id="strstr" name="strstr">,
|
||||||
|
<ref id="strcspn" name="strcspn">,
|
||||||
|
<ref id="strspn" name="strspn">
|
||||||
|
<tag/Example/None.
|
||||||
|
</descrip>
|
||||||
|
</quote>
|
||||||
|
|
||||||
|
|
||||||
|
<sect1>strstr<label id="strstr"><p>
|
||||||
|
|
||||||
|
<quote>
|
||||||
|
<descrip>
|
||||||
|
<tag/Function/Find a substring, case-sensitive.
|
||||||
|
<tag/Header/<tt/<ref id="string.h" name="string.h">/
|
||||||
|
<tag/Declaration/<tt/char* __fastcall__ strstr (const char* str, const char* substr);/
|
||||||
|
<tag/Description/<tt/strstr/ searches for the first occurrence of the string
|
||||||
|
<tt/substr/ within <tt/str/. If found, it returns a pointer to the start of the
|
||||||
|
match in <tt/str/, otherwise it returns <tt/NULL/.
|
||||||
|
<tag/Notes/<itemize>
|
||||||
|
<item>The function is only available as fastcall function, so it may only
|
||||||
|
be used in presence of a prototype.
|
||||||
|
</itemize>
|
||||||
|
<tag/Availability/ISO 9899
|
||||||
|
<tag/See also/
|
||||||
|
<ref id="strcasestr" name="strcasestr">,
|
||||||
<ref id="strcspn" name="strcspn">,
|
<ref id="strcspn" name="strcspn">,
|
||||||
<ref id="strspn" name="strspn">
|
<ref id="strspn" name="strspn">
|
||||||
<tag/Example/None.
|
<tag/Example/None.
|
||||||
|
Loading…
Reference in New Issue
Block a user