mirror of
https://github.com/apple/swift-system
synced 2026-11-25 04:47:55 +00:00
[windows] expose pipe’s buffer size parameter
This commit is contained in:
1 parent
5cd7eade6d
commit
3f4e7cb45c
1 file changed
+4
-2
@@ -184,8 +184,10 @@ internal func pwrite(
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
internal func pipe(_ fds: UnsafeMutablePointer<Int32>) -> CInt {
|
||||
return _pipe(fds, 4096, _O_BINARY | _O_NOINHERIT);
|
||||
internal func pipe(
|
||||
_ fds: UnsafeMutablePointer<Int32>, bytesReserved: UInt32 = 4096
|
||||
) -> CInt {
|
||||
return _pipe(fds, bytesReserved, _O_BINARY | _O_NOINHERIT);
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
|
||||
Reference in new issue
Block a user