added some functions usually served by libc
[my-code/arm.git] / betty / functions.h
diff --git a/betty/functions.h b/betty/functions.h
new file mode 100644 (file)
index 0000000..db55296
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * * functions.h - functions header file
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+#ifndef FUNCTIONS_H
+#define FUNCTIONS_H
+
+#include "lpc2xxx.h"
+#include "types.h"
+
+/*
+ * function prototypes
+ */
+
+int strlen(char *string);
+int strncmp(char *a,char *b,int n);
+int strncpy(char *d,char *s,int n);
+int mset(u8 *s,u8 v,int n);
+
+#endif