Contents

SCPreferencesCommitChanges(_:)

Commits changes made to the configuration preferences to persistent storage.

Declaration

func SCPreferencesCommitChanges(_ prefs: SCPreferences) -> Bool

Parameters

  • prefs:

    The preferences session.

Return Value

TRUE if the lock was obtained; FALSE if an error occurred.

Discussion

Implicit calls to the SCPreferencesLock(_:_:) and SCPreferencesUnlock(_:) functions are made if exclusive access has not already been established.

See Also

Applying and Committing Changes