<!--
{
  "availability" : [
    "iOS: 14.0 -",
    "iPadOS: 14.0 -",
    "macCatalyst: 14.0 -",
    "macOS: 11.0 -",
    "tvOS: 14.0 -",
    "visionOS: 1.0 -",
    "watchOS: 7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "System",
  "identifier" : "/documentation/System",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "System"
    ],
    "preciseIdentifier" : "System"
  },
  "title" : "System"
}
-->

# System

Perform low-level file operations using type-safe APIs.

## Topics

### Adopting System

[Adopting Swift File Operations](/documentation/System/adopting-file-operations)

Migrate existing C code to Swift, using the file operations provided by the System module.

[Adopting Swift File Options](/documentation/System/adopting-file-options)

Migrate existing C code to Swift, using the file-operation options provided by the System module.

[Adopting Swift Error Constants](/documentation/System/adopting-errno)

Migrate existing C code to Swift, using the error constants provided by the System module.

### Files

[`FileDescriptor`](/documentation/System/FileDescriptor)

[`FilePath`](/documentation/System/FilePath)

[`FilePermissions`](/documentation/System/FilePermissions)

### Errors

[`Errno`](/documentation/System/Errno)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
