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

func SCCopyLastError() -> CFError

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

func SCError() -> Int32

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

func SCErrorString(Int32) -> UnsafePointer<Int8>

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

Constants

Status and Error Codes

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

Error Domain

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