CE interactive shell
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m36s

This commit is contained in:
2026-02-21 22:14:16 +01:00
parent dc021c0469
commit 02e77b5c90
30 changed files with 3259 additions and 18 deletions

View File

@@ -1,9 +1,12 @@
#ifndef _LIBSTRING_STRING_H
#define _LIBSTRING_STRING_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
typedef bool (*strtokenize_cb_func_t) (void* ctx, const char* start, size_t len);
/* Set block of memory */
size_t memset (void* dst, uint8_t b, size_t n);
@@ -19,4 +22,13 @@ size_t strlen (const char* str);
/* Compare blocks of memory */
int memcmp (const void* s1, const void* s2, size_t n);
/* tokenize a string */
void strtokenize (const char* str, char delim, void* ctx, strtokenize_cb_func_t cb);
/* compare strings */
int strcmp (const char* s1, const char* s2);
/* concatinate strings */
char* strcat (char* dest, const char* src);
#endif // _LIBSTRING_STRING_H