Is there any Carbon/Cocoa/C API available on Macs that I can use to enumerate processes? I\'m looking for something like EnumProcesses on Windows.
My go
In the overview of the NSRunningApplicationClass, it says:
NSRunningApplication is a class to manipulate and provide information for a single instance of an application. Only user applications are tracked; this does not provide information about every process on the system.
and
To access the list of all running applications, use the runningApplications method in NSWorkspace.
I would suggest taking a look at Workspace Services Programming Topics