mach_task_self

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(!linux && OSX)
extern (C)
mach_task_self
()

Meta