Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit ac6dbca

Browse files
authored
Merge pull request #3372 from kubo39/add-darwin-fcntl
macOS: add core.sys.darwin.fcntl
2 parents d4487d8 + 95b6019 commit ac6dbca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/core/sys/darwin/fcntl.d

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module core.sys.darwin.fcntl;
2+
3+
public import core.sys.posix.fcntl;
4+
5+
version (OSX)
6+
version = Darwin;
7+
else version (iOS)
8+
version = Darwin;
9+
else version (TVOS)
10+
version = Darwin;
11+
else version (WatchOS)
12+
version = Darwin;
13+
14+
version (Darwin):
15+
extern (C):
16+
nothrow:
17+
@nogc:
18+
@system:
19+
20+
enum F_FULLFSYNC = 51;

0 commit comments

Comments
 (0)