summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/sys/freebsd/string.d
blob: 3602ea8e86bd1ecc9bf04f56c7c664bbcf2d9ce0 (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 FreeBSD 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.freebsd.string;

public import core.stdc.string;
import core.sys.freebsd.sys.cdefs;

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

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