summaryrefslogtreecommitdiffstats
path: root/src/include/bstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/bstring.h')
-rw-r--r--src/include/bstring.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/bstring.h b/src/include/bstring.h
new file mode 100644
index 000000000..33d0ba606
--- /dev/null
+++ b/src/include/bstring.h
@@ -0,0 +1,26 @@
+/*
+ * #include file for bstring(3) & sys5 version functions
+ * home.
+ */
+#ifndef __BSTRING__
+#define __BSTRING__
+#ifdef __STDC__
+/* compat-sys5 */
+/* these are in <string.h> */
+extern int bcmp (const char *, const char *, int );
+extern int bcopy (const char *, char *, int );
+extern int bzero (char *, int );
+#else /* STDC */
+/* compat-sys5 */
+extern char *memccpy ();
+extern char *memchr ();
+extern int memcmp ();
+extern char *memcpy ();
+extern char *memset ();
+
+extern int bcmp ();
+extern int bcopy ();
+extern int bzero ();
+
+#endif /* STDC */
+#endif /* __BSTRING__ */