diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2025-12-28 15:40:00 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2025-12-28 15:40:00 +0800 |
| commit | 8ba2314e4b1e72ba3c5ccf7cb5a8ceffbda4e4c6 (patch) | |
| tree | 382430d33317c6d959eee4f003e8ce8acabcb794 /stdlib/string.h | |
| parent | f6abbd2c8ed5301ac7f3347696e34669bcd00a8d (diff) | |
| download | lume-8ba2314e4b1e72ba3c5ccf7cb5a8ceffbda4e4c6.tar.gz lume-8ba2314e4b1e72ba3c5ccf7cb5a8ceffbda4e4c6.tar.xz | |
feat(stdlib): standard I/O Implementation
Diffstat (limited to 'stdlib/string.h')
| -rw-r--r-- | stdlib/string.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/stdlib/string.h b/stdlib/string.h new file mode 100644 index 0000000..aa87489 --- /dev/null +++ b/stdlib/string.h @@ -0,0 +1,13 @@ +#pragma once +#include "common/types.h" + + +void *memset(void *dst, int c, uint n); +int memcmp(const void *v1, const void *v2, uint n); +void *memmove(void *dst, const void *src, uint n); +void *memcpy(void *dst, const void *src, uint n); + + +void strcpy(char *dst, const char *src); +int strlen(const char *s); +int strcmp(const char *s1, const char *s2);
\ No newline at end of file |
