added sources

This commit is contained in:
huuck
2024-12-03 21:41:56 +00:00
parent 8f23f8b5d0
commit 607588030f
9 changed files with 1316 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
// NOTE The following functions are not available in the OFW, so we need to reimplement them as a polyfill.
char *strcat_(char *dest, const char *src);
char *rawmemchr_(char *s, char c);
char *strpbrk_(char *s1, const char *s2);
char *strtok_(char *s, const char *delim);
#ifdef __cplusplus
}
#endif