OSDN Git Service

svn rev.329より移動。
[chnosproject/CHNOSProject.git] / CHNOSProject / chnos / tolset_chn_000 / z_tools / win32 / string.h
diff --git a/CHNOSProject/chnos/tolset_chn_000/z_tools/win32/string.h b/CHNOSProject/chnos/tolset_chn_000/z_tools/win32/string.h
new file mode 100644 (file)
index 0000000..62bd804
--- /dev/null
@@ -0,0 +1,38 @@
+/* copyright(C) 2003 H.Kawai (under KL-01). */\r
+\r
+#if (!defined(STRING_H))\r
+\r
+#define STRING_H       1\r
+\r
+#if (defined(__cplusplus))\r
+       extern "C" {\r
+#endif\r
+\r
+#include <stddef.h>            /* size_t */\r
+\r
+char *strcpy(char *s, const char *ct);\r
+char *strncpy(char *s, const char *ct, size_t n);\r
+char *strcat(char *s, const char *ct);\r
+char *strncat(char *s, const char *ct, size_t n);\r
+int strcmp(const char *cs, const char *ct);\r
+int strncmp(const char *cs, const char *ct, size_t n);\r
+char *strchr(const char *cs, int c);\r
+char *strrchr(const char *cs, int c);\r
+size_t strspn(const char *s, const char *accept);\r
+size_t strcspn(const char *s, const char *reject);\r
+char *strpbrk(const char *s, const char *accept);\r
+char *strstr(const char *cs, const char *ct);\r
+size_t strlen(const char *cs);\r
+\r
+void *memcpy(void *s, const void *ct, size_t n);\r
+void *memmove(void *s, const void *ct, size_t n);\r
+int memcmp(const void *cs, const void *ct, size_t n);\r
+void *memchr(const void *cs, int c, size_t n);\r
+void *memset(void *s, int c, size_t n);\r
+char *strdup(const char *s);\r
+\r
+#if (defined(__cplusplus))\r
+       }\r
+#endif\r
+\r
+#endif\r