mirror of
https://github.com/drasko/codezero.git
synced 2026-01-19 06:13:16 +01:00
Created libc under containers/posix which now all tasks use to build.
There is a problem in the new libc that test0 now misbehaves. Going to be fixed.
This commit is contained in:
11
containers/posix/libc/include/string.h
Normal file
11
containers/posix/libc/include/string.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __LIB_STRING_H__
|
||||
#define __LIB_STRING_H__
|
||||
|
||||
int strlen(const char *s);
|
||||
char *strcpy(char *to, const char *from);
|
||||
char *strncpy(char *dest, const char *src, int count);
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
void *memset(void *p, int c, int size);
|
||||
void *memcpy(void *d, void *s, int size);
|
||||
|
||||
#endif /* __LIB_STRING_H__ */
|
||||
Reference in New Issue
Block a user