Enumeration

Status and Error Codes

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

Declaration

enum : unsigned int {
    ...
};

Topics

Constants

kSCStatusOK

The call was successful.

kSCStatusFailed

A nonspecific failure occurred.

kSCStatusInvalidArgument

An invalid argument was specified.

kSCStatusAccessError

Permission is denied; you must be root to obtain a lock. As a result, the function could not create or access preferences.

kSCStatusNoKey

No such key.

kSCStatusLocked

A lock is already held.

kSCStatusNeedLock

A lock is required for this operation.

kSCStatusNoStoreSession

The configuration daemon session is not active.

kSCStatusNoStoreServer

The configuration daemon is not available or no longer available.

kSCStatusNotifierActive

Notifier is currently active.

kSCStatusNoPrefsSession

The preferences session is not active.

kSCStatusPrefsBusy

A preferences update is currently in progress.

kSCStatusNoConfigFile

The configuration file cannot be found.

kSCStatusNoLink

No such link exists.

kSCStatusStale

A write was attempted on a stale version of the object.

kSCStatusMaxLink

The maximum link count is exceeded.

kSCStatusReachabilityUnknown

Network reachability cannot be determined.

kSCStatusConnectionNoService

Network service for the connection is not available.