]>
Commit | Line | Data |
---|---|---|
facde14d | 1 | /** |
2 | * D header file for NetBSD 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.netbsd.string; | |
9 | ||
10 | public import core.stdc.string; | |
11 | import core.sys.netbsd.sys.featuretest; | |
12 | ||
13 | version (NetBSD): | |
14 | extern (C): | |
15 | nothrow: | |
16 | @nogc: | |
17 | ||
18 | static if (_NETBSD_SOURCE) | |
19 | { | |
20 | pure void* memmem(return const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen); | |
21 | } |