summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/netbsd-1.1/__string.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/netbsd-1.1/__string.h')
-rwxr-xr-xmit-pthreads/machdep/netbsd-1.1/__string.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/netbsd-1.1/__string.h b/mit-pthreads/machdep/netbsd-1.1/__string.h
new file mode 100755
index 00000000000..1ebee28e708
--- /dev/null
+++ b/mit-pthreads/machdep/netbsd-1.1/__string.h
@@ -0,0 +1,20 @@
+
+#include <machine/ansi.h>
+#ifdef _BSD_SIZE_T_
+typedef _BSD_SIZE_T_ size_t;
+#undef _BSD_SIZE_T_
+#endif
+
+/* Non-standard NetBSD string routines. */
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
+__BEGIN_DECLS
+int bcmp __P_((const void *, const void *, size_t));
+void bcopy __P_((const void *, void *, size_t));
+void bzero __P_((void *, size_t));
+char *index __P_((const char *, int));
+char *rindex __P_((const char *, int));
+char *strdup __P_((const char *));
+void strmode __P_((int, char *));
+char *strsep __P_((char **, const char *));
+__END_DECLS
+#endif