]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/libdruntime/core/sys/freebsd/string.d
d: Merge upstream dmd 3982604c5, druntime bc58b1e9, phobos 12329adb6.
[thirdparty/gcc.git] / libphobos / libdruntime / core / sys / freebsd / string.d
1 /**
2 * D header file for FreeBSD string.
3 *
4 * Copyright: Copyright © 2019, The D Language Foundation
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
6 * Authors: Ernesto Castellotti
7 */
8 module core.sys.freebsd.string;
9
10 public import core.stdc.string;
11 import core.sys.freebsd.sys.cdefs;
12
13 version (FreeBSD):
14 extern (C):
15 nothrow:
16 @nogc:
17
18 static if (__BSD_VISIBLE)
19 {
20 pure void* memmem(return scope const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen);
21 }