mirror of
https://github.com/apple/swift-system
synced 2026-11-28 05:14:33 +00:00
Defer pipe buffering decision to the OS on Windows
This commit is contained in:
1 parent
e59002fa14
commit
2cc89c12b3
1 file changed
+1
-1
@@ -201,7 +201,7 @@ internal func pwrite(
|
||||
|
||||
@inline(__always)
|
||||
internal func pipe(
|
||||
_ fds: UnsafeMutablePointer<Int32>, bytesReserved: UInt32 = 4096
|
||||
_ fds: UnsafeMutablePointer<Int32>, bytesReserved: UInt32 = 0
|
||||
) -> CInt {
|
||||
return _pipe(fds, bytesReserved, _O_BINARY | _O_NOINHERIT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user