[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 1/3] libc: strings.h vervollstaendigen
+ libc: Die strings.h-Funktionen sind alle schon da, man muesste sie nur
auch noch im Header deklarieren
Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
src/include/strings.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/include/strings.h b/src/include/strings.h
index e398061..47360c4 100644
--- a/src/include/strings.h
+++ b/src/include/strings.h
@@ -30,6 +30,15 @@
#define _STRINGS_H_
#include <stddef.h>
+void bcopy(const void* src, void* dst, size_t num);
+void bzero(void* buf, size_t num);
+int bcmp(const void* s1, const void* s2, size_t num);
+
+int ffs(int i);
+
+char* index(const char* s, int c);
+char* rindex(const char* s, int c);
+
int strcasecmp(const char* s1, const char* s2);
int strncasecmp(const char* s1, const char* s2, size_t n);
--
1.6.0.2