fix bugs found in brk & add simple security checks on lx_free
[lunaix-os.git] / lunaix-os / includes / libc / string.h
index eeade755e200695d7254529fa8bf15a15f0846b7..7347de2abc2f1bce7fbe4ca46865cd4e87a8318d 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _STRING_H
-#define _STRING_H 1
+#ifndef __LUNAIX_STRING_H
+#define __LUNAIX_STRING_H
 
 #include <stddef.h>
 
@@ -18,4 +18,13 @@ memset(void*, int, size_t);
 size_t
 strlen(const char* str);
 
-#endif
\ No newline at end of file
+char*
+strcpy(char* dest, const char* src);
+
+size_t
+strnlen(const char* str, size_t max_len);
+
+const char*
+strchr(const char* str, int character);
+
+#endif /* __LUNAIX_STRING_H */