mirror of
https://github.com/apple/swift-system
synced 2026-11-25 04:47:55 +00:00
21 lines
605 B
Swift
21 lines
605 B
Swift
/*
|
|
This source file is part of the Swift System open source project
|
|
|
|
Copyright (c) 2020 Apple Inc. and the Swift System project authors
|
|
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
|
|
See https://swift.org/LICENSE.txt for license information
|
|
*/
|
|
|
|
@_implementationOnly import SystemInternals
|
|
|
|
// Public typealiases that can't be reexported from SystemInternals
|
|
|
|
/// The C `mode_t` type.
|
|
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
|
|
// @available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
|
|
public typealias CModeT = UInt16
|
|
#else
|
|
public typealias CModeT = UInt32
|
|
#endif
|