Function

SCError()

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

Declaration

func SCError() -> Int32

Return Value

The most recent status or error code generated as the result of calling a function defined by the System Configuration framework. See Status and Error Codes for descriptions of these codes.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software