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

Commit 54fc8a2

Browse files
authored
Merge pull request #3007 from WalterBright/posix-system
add @System to posix interface
2 parents a7915d6 + d4dbdda commit 54fc8a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+47
-1
lines changed

src/core/sys/posix/config.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public import core.stdc.config;
1919

2020
version (Posix):
2121
extern (C) nothrow @nogc:
22+
@system:
2223

2324
enum _XOPEN_SOURCE = 600;
2425
enum _POSIX_SOURCE = true;

src/core/sys/posix/dirent.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ version (Posix):
3131
extern (C):
3232
nothrow:
3333
@nogc:
34+
@system:
3435

3536
//
3637
// Required

src/core/sys/posix/dlfcn.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ version (Posix):
4545
extern (C):
4646
nothrow:
4747
@nogc:
48+
@system:
4849

4950
//
5051
// XOpen (XSI)

src/core/sys/posix/fcntl.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ extern (C):
4949

5050
nothrow:
5151
@nogc:
52+
@system:
5253

5354
//
5455
// Required

src/core/sys/posix/grp.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ version (Posix):
3030
extern (C):
3131
nothrow:
3232
@nogc:
33+
@system:
3334

3435
//
3536
// Required

src/core/sys/posix/iconv.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ version (Posix):
3434
extern (C):
3535
nothrow:
3636
@nogc:
37+
@system:
3738

3839

3940
alias void* iconv_t;

src/core/sys/posix/inttypes.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public import core.stdc.inttypes;
1919

2020
version (Posix):
2121
extern (C) nothrow @nogc:
22+
@system:
2223

2324
//
2425
// Required

src/core/sys/posix/libgen.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
module core.sys.posix.libgen;
1616

1717
@nogc nothrow:
18+
@system:
1819
extern (C):
1920
version (Posix):
2021

src/core/sys/posix/mqueue.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ version (Posix):
3030
version (CRuntime_Glibc):
3131
extern (C):
3232
@nogc nothrow:
33+
@system:
3334

3435

3536
/// Message queue descriptor.

src/core/sys/posix/netdb.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ version (Posix):
3333
extern (C):
3434
nothrow:
3535
@nogc:
36+
@system:
3637

3738
//
3839
// Required

0 commit comments

Comments
 (0)