ysyx-workbench/abstract-machine/klib/src/string.c
xinyangli 8e4feb4010 NJU-ProjectN/abstract-machine ics2023 initialized
NJU-ProjectN/abstract-machine 3348db971fd860be5cb28e21c18f9d0e65d0c96a Merge pull request #8 from Jasonyanyusong/master
2023-12-21 00:20:42 +08:00

47 lines
917 B
C

#include <klib.h>
#include <klib-macros.h>
#include <stdint.h>
#if !defined(__ISA_NATIVE__) || defined(__NATIVE_USE_KLIB__)
size_t strlen(const char *s) {
panic("Not implemented");
}
char *strcpy(char *dst, const char *src) {
panic("Not implemented");
}
char *strncpy(char *dst, const char *src, size_t n) {
panic("Not implemented");
}
char *strcat(char *dst, const char *src) {
panic("Not implemented");
}
int strcmp(const char *s1, const char *s2) {
panic("Not implemented");
}
int strncmp(const char *s1, const char *s2, size_t n) {
panic("Not implemented");
}
void *memset(void *s, int c, size_t n) {
panic("Not implemented");
}
void *memmove(void *dst, const void *src, size_t n) {
panic("Not implemented");
}
void *memcpy(void *out, const void *in, size_t n) {
panic("Not implemented");
}
int memcmp(const void *s1, const void *s2, size_t n) {
panic("Not implemented");
}
#endif