Move string functions to libstring
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s

This commit is contained in:
2026-02-12 23:05:04 +01:00
parent ec6cd43a14
commit ab758d8929
13 changed files with 50 additions and 9 deletions

13
libstring/string.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _LIBSTRING_STRING_H
#define _LIBSTRING_STRING_H
#include <stddef.h>
#include <stdint.h>
size_t memset (void* dst, uint8_t b, size_t n);
size_t memcpy (void* dst, const void* src, size_t n);
void strncpy (char* dst, const char* src, size_t n);
size_t strlen (const char* str);
int memcmp (const void* s1, const void* s2, size_t n);
#endif // _LIBSTRING_STRING_H