1.Dd May 24, 2021 2.Dt VFORK 2 3.Os 4.Sh NAME 5.Nm vfork 6.Nd deprecated system call to create a new process 7.Sh SYNOPSIS 8.In unistd.h 9.Ft pid_t 10.Fn vfork void 11.Sh DESCRIPTION 12The 13.Nm 14system call can be used to create new processes. As of macOS 12.0, 15this system call behaves identically to the 16.Xr fork 2 17system call, except without calling any handlers registered with 18.Xr pthread_atfork 2 . 19.Pp 20This system call is deprecated. In a future release, it may begin to return 21errors in all cases, or may be removed entirely. 22It is extremely strongly recommended to replace 23all uses with 24.Xr fork 2 25or, ideally, 26.Xr posix_spawn 3 . 27