mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
This follows the existing pattern of wrapping dup/dup2 and pipe with FileDescriptor.duplicate and FileDescriptor.pipe, with additional overloads for passing the O_CLOEXEC and similar flags.
8 lines
136 B
Plaintext
8 lines
136 B
Plaintext
module CSystem {
|
|
header "CSystemShared.h"
|
|
header "CSystemLinux.h"
|
|
header "CSystemWASI.h"
|
|
header "CSystemWindows.h"
|
|
export *
|
|
}
|