Function

SMCopyAllJobDictionaries(_:)

Copy the job description dictionaries for all jobs in the given domain.

Declaration

func SMCopyAllJobDictionaries(_ domain: CFString!) -> Unmanaged<CFArray>!

Parameters

domain

The desired domain (e.g. kSMDomainSystemLaunchd).

Return Value

A new array containing all job dictionaries, or NULL if an error occurred. Must be released by the caller.

Discussion

SMCopyAllJobDictionaries returns an array of the job description dictionaries for all jobs in the given domain, or NULL if an error occurred.

See Also

Examining Jobs