summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/sys/darwin/stdlib.d
blob: 287eaa038e42dc4c86af9f0f8a7614c556513d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
  * D header file for Darwin stdlib.h.
  *
  * Copyright: Copyright © 2021, The D Language Foundation
  * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
  * Authors: Iain Buclaw
  */
module core.sys.darwin.stdlib;
public import core.sys.posix.stdlib;

version (OSX)
    version = Darwin;
else version (iOS)
    version = Darwin;
else version (TVOS)
    version = Darwin;
else version (WatchOS)
    version = Darwin;

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

const(char)* getprogname();
void setprogname(scope const char* name);