Where is the file syscall_sw.h in Mac OS X?
I’m using it to program the classes found within in assembly, but I can only find the file on the Internet. I want to find it on my actual operating system filesystem. I’ve downloaded all of XCode and installed the Components and Documentation, but I still can’t find the file.
It is not a public* header — it can, however, be found in the kernel source code:
http://www.opensource.apple.com/source/xnu/xnu-2050.9.2/osfmk/kern/syscall_sw.h
*: Indicating that you should not need it unless you’re working in the kernel.