summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/sys/netbsd/string.d
blob: ab9ced80cf14259ac29b5c4bcea48e6feaecb379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
  * D header file for NetBSD 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.netbsd.string;

public import core.stdc.string;
import core.sys.netbsd.sys.featuretest;

version (NetBSD):
extern (C):
nothrow:
@nogc:

static if (_NETBSD_SOURCE)
{
    pure void* memmem(return const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen);
}