"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/import/core/sys/dragonflybsd/string.d" (20 Nov 2020, 543 Bytes) of package /linux/misc/dmd.2.094.2.linux.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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