[Add] laos base boot

This commit is contained in:
bLueriVerLHR
2023-05-21 00:48:04 +08:00
parent 5d31bf294c
commit 029a8823f4
34 changed files with 927 additions and 18 deletions

16
laos/include/string.h Normal file
View File

@@ -0,0 +1,16 @@
#include "latype.h"
#ifndef STRING_H__
#define STRING_H__
void *memset (void *dst , int c, uint n);
int memcmp (const void *m1, const void *m2, uint n);
void *memmove (void *dst, const void *src, uint n);
void *memcpy (void *dst, const void *src, uint n);
int strncmp (const char *p, const char *q, uint n);
char *strncpy (char *s, const char *t, int n);
char *strcpy_s(char *s, const char *t, int n);
int strlen (const char *s);
#endif