pub const SYS_PROC_FORK: usize = 302;Expand description
Fork the current process (copy-on-write).
frame: pointer to theSyscallFrameto restore in the child
Returns 0 in the child process, and the child PID in the parent.
The child gets a copy of the parent’s address space (COW).