summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/sys/freebsd/string.d
diff options
context:
space:
mode:
Diffstat (limited to 'libphobos/libdruntime/core/sys/freebsd/string.d')
-rw-r--r--libphobos/libdruntime/core/sys/freebsd/string.d21
1 files changed, 21 insertions, 0 deletions
diff --git a/libphobos/libdruntime/core/sys/freebsd/string.d b/libphobos/libdruntime/core/sys/freebsd/string.d
new file mode 100644
index 00000000000..3602ea8e86b
--- /dev/null
+++ b/libphobos/libdruntime/core/sys/freebsd/string.d
@@ -0,0 +1,21 @@
+/**
+ * D header file for FreeBSD string.
+ *
+ * Copyright: Copyright © 2019, The D Language Foundation
+ * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
+ * Authors: Ernesto Castellotti
+ */
+module core.sys.freebsd.string;
+
+public import core.stdc.string;
+import core.sys.freebsd.sys.cdefs;
+
+version (FreeBSD):
+extern (C):
+nothrow:
+@nogc:
+
+static if (__BSD_VISIBLE)
+{
+ pure void* memmem(return const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen);
+}