1414/// of `FileDescriptor` values,
1515/// in the same way as you manage a raw C file handle.
1616@frozen
17- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
17+ @available ( System 0 . 0 . 1 , * )
1818public struct FileDescriptor : RawRepresentable , Hashable , Codable {
1919 /// The raw C file handle.
2020 @_alwaysEmitIntoClient
@@ -26,7 +26,7 @@ public struct FileDescriptor: RawRepresentable, Hashable, Codable {
2626}
2727
2828// Standard file descriptors.
29- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
29+ @available ( System 0 . 0 . 1 , * )
3030extension FileDescriptor {
3131 /// The standard input file descriptor, with a numeric value of 0.
3232 @_alwaysEmitIntoClient
@@ -41,11 +41,11 @@ extension FileDescriptor {
4141 public static var standardError : FileDescriptor { . init( rawValue: 2 ) }
4242}
4343
44- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
44+ @available ( System 0 . 0 . 1 , * )
4545extension FileDescriptor {
4646 /// The desired read and write access for a newly opened file.
4747 @frozen
48- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
48+ @available ( System 0 . 0 . 1 , * )
4949 public struct AccessMode : RawRepresentable , Sendable , Hashable , Codable {
5050 /// The raw C access mode.
5151 @_alwaysEmitIntoClient
@@ -88,7 +88,7 @@ extension FileDescriptor {
8888
8989 /// Options that specify behavior for a newly-opened file.
9090 @frozen
91- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
91+ @available ( System 0 . 0 . 1 , * )
9292 public struct OpenOptions : OptionSet , Sendable , Hashable , Codable {
9393 /// The raw C options.
9494 @_alwaysEmitIntoClient
@@ -326,7 +326,7 @@ extension FileDescriptor {
326326
327327 /// Options for specifying what a file descriptor's offset is relative to.
328328 @frozen
329- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
329+ @available ( System 0 . 0 . 1 , * )
330330 public struct SeekOrigin : RawRepresentable , Sendable , Hashable , Codable {
331331 /// The raw C value.
332332 @_alwaysEmitIntoClient
@@ -402,7 +402,7 @@ extension FileDescriptor {
402402 }
403403}
404404
405- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
405+ @available ( System 0 . 0 . 1 , * )
406406extension FileDescriptor . AccessMode
407407 : CustomStringConvertible , CustomDebugStringConvertible
408408{
@@ -421,7 +421,7 @@ extension FileDescriptor.AccessMode
421421 public var debugDescription : String { self . description }
422422}
423423
424- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
424+ @available ( System 0 . 0 . 1 , * )
425425extension FileDescriptor . SeekOrigin
426426 : CustomStringConvertible , CustomDebugStringConvertible
427427{
@@ -444,7 +444,7 @@ extension FileDescriptor.SeekOrigin
444444 public var debugDescription : String { self . description }
445445}
446446
447- @available ( /* System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8 , * )
447+ @available ( System 0 . 0 . 1 , * )
448448extension FileDescriptor . OpenOptions
449449 : CustomStringConvertible , CustomDebugStringConvertible
450450{
0 commit comments