1/** 2 * D header file for Darwin 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 */ 8module core.sys.darwin.string; 9 10public import core.stdc.string; 11import core.sys.darwin.sys.cdefs; 12 13version (OSX) 14 version = Darwin; 15else version (iOS) 16 version = Darwin; 17else version (TVOS) 18 version = Darwin; 19else version (WatchOS) 20 version = Darwin; 21 22version (Darwin): 23extern (C): 24nothrow: 25@nogc: 26 27static if (__DARWIN_C_LEVEL >= __DARWIN_C_FULL) 28{ 29 // ^ __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); 30 pure void* memmem(return scope const void* haystack, size_t haystacklen, scope const void* needle, size_t needlelen); 31} 32