libphobos: Merge upstream druntime 9d0c8364, phobos 9d575282e.
[official-gcc.git] / libphobos / libdruntime / core / sys / darwin / stdlib.d
blob287eaa038e42dc4c86af9f0f8a7614c556513d55
1 /**
2 * D header file for Darwin stdlib.h.
4 * Copyright: Copyright © 2021, The D Language Foundation
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
6 * Authors: Iain Buclaw
7 */
8 module core.sys.darwin.stdlib;
9 public import core.sys.posix.stdlib;
11 version (OSX)
12 version = Darwin;
13 else version (iOS)
14 version = Darwin;
15 else version (TVOS)
16 version = Darwin;
17 else version (WatchOS)
18 version = Darwin;
20 version (Darwin):
21 extern (C):
22 nothrow:
23 @nogc:
25 const(char)* getprogname();
26 void setprogname(scope const char* name);