<!--
{
  "documentType" : "article",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/system-configuration",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "System Configuration"
}
-->

# System Configuration

## Overview

The `SystemConfiguration` programming interface provides functions you can use to get and interpret status and error codes generated as a result of calling functions of the System Configuration framework.

## Topics

### Functions

[`SCCopyLastError`](/documentation/SystemConfiguration/SCCopyLastError())

Returns an error or status code associated with the most recent function call.

[`SCError`](/documentation/SystemConfiguration/SCError())

Returns an error or status code associated with the most recent function call.

[`SCErrorString`](/documentation/SystemConfiguration/SCErrorString(_:))

Returns a string describing the specified status code or error code.

### Constants

[Status and Error Codes](/documentation/SystemConfiguration/1518026-status-and-error-codes)

The status or error code generated by the most recent System Configuration function call.

[Error Domain](/documentation/SystemConfiguration/error-domain)

The error domain associated with errors reported by the System Configuration framework.



---

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)