We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77a331 commit a54ce83Copy full SHA for a54ce83
Sources/System/FileOperations.swift
@@ -165,7 +165,7 @@ extension FileDescriptor {
165
internal func _read(
166
into buffer: UnsafeMutableRawBufferPointer,
167
retryOnInterrupt: Bool
168
- ) throws -> Result<Int, Errno> {
+ ) -> Result<Int, Errno> {
169
valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
170
system_read(self.rawValue, buffer.baseAddress, buffer.count)
171
}
0 commit comments