diff options
Diffstat (limited to 'libphobos/libdruntime/core/sys/linux/string.d')
-rw-r--r-- | libphobos/libdruntime/core/sys/linux/string.d | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libphobos/libdruntime/core/sys/linux/string.d b/libphobos/libdruntime/core/sys/linux/string.d new file mode 100644 index 00000000000..a388c8ba1ae --- /dev/null +++ b/libphobos/libdruntime/core/sys/linux/string.d @@ -0,0 +1,21 @@ +/** + * D header file for Linux 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.linux.string; + +public import core.stdc.string; +import core.sys.linux.config; + +version (linux): +extern (C): +nothrow: +@nogc: + +static if (__USE_GNU) +{ + pure void* memmem(return const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen); +} |