xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/string.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
1 /**
2   * D header file for Linux 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.linux.string;
9 
10 public import core.stdc.string;
11 import core.sys.linux.config;
12 
13 version (linux):
14 extern (C):
15 nothrow:
16 @nogc:
17 @system:
18 
19 static if (_GNU_SOURCE)
20 {
21     pure void* memmem(return scope const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen);
22 }
23