Debian Codegraph @

libphobos/libdruntime/core/sys/darwin/stdlib.d

raw
1 /**
2 * D header file for Darwin stdlib.h.
3 *
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;
10
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;
19
20 version (Darwin):
21 extern (C):
22 nothrow:
23 @nogc:
24
25 const(char)* getprogname();
26 void setprogname(scope const char* name);