diff --git a/Sources/System/Internals/WindowsSyscallAdapters.swift b/Sources/System/Internals/WindowsSyscallAdapters.swift index d470bd1..d56d33e 100644 --- a/Sources/System/Internals/WindowsSyscallAdapters.swift +++ b/Sources/System/Internals/WindowsSyscallAdapters.swift @@ -184,8 +184,10 @@ internal func pwrite( } @inline(__always) -internal func pipe(_ fds: UnsafeMutablePointer) -> CInt { - return _pipe(fds, 4096, _O_BINARY | _O_NOINHERIT); +internal func pipe( + _ fds: UnsafeMutablePointer, bytesReserved: UInt32 = 4096 +) -> CInt { +  return _pipe(fds, bytesReserved, _O_BINARY | _O_NOINHERIT); } @inline(__always)