I can not find clone() in the sched.h header file. Where is it on Mac OS X?
clone()
sched.h
clone() is a Linux-specific call and doesn't exist in OSX.
man 2 clone says:
The clone() and sys_clone calls are Linux-specific and should not be used in programs intended to be portable.