ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib.cstring Module Reference

Functions

auto lib::clcle (const char *s1, usize l1, const char *s2, usize l2) -> condition_code
auto lib::memcmp (const void *s1, const void *s2, usize n) -> int
auto lib::memcpy (void *dest, const void *src, usize n) -> void *
auto lib::memmove (void *dest, const void *src, usize n) -> void *
auto lib::memset (void *s, int c, usize n) -> void *
auto lib::strcat (char *dest, const char *src) -> char *
auto lib::strcmp (const char *s1, const char *s2) -> int
auto lib::strend (const char *s) -> char *
auto lib::streq (const char *a, const char *b) noexcept -> bool
auto lib::string_copy (char *dest, usize cap, const std::string_view &src) noexcept -> void
template<usize N>
auto lib::string_copy (char(&dest)[N], const std::string_view &src) noexcept -> void
auto lib::strlen (const char *s) -> usize
auto lib::strnend (const char *s, usize n) -> char *
auto lib::strnlen (const char *str, usize max) noexcept -> usize
auto lib::strstr (const char *s1, const char *s2) -> char *

Files

file  lib/cstring.cxxm
 String and memory operations.