* @brief Creates a child process by duplicating the calling process. * * This system call creates a new child process by duplicating the calling process. The * new child process is a copy of the parent process, except for the returned value. * The child process starts executing from the point of the fork, but the return value * differs between the parent and child: the parent receives the pro
| 3705 | * processes to avoid leaks and inconsistencies. |
| 3706 | */ |
| 3707 | rt_weak sysret_t sys_fork(void) |
| 3708 | { |
| 3709 | return _sys_fork(); |
| 3710 | } |
| 3711 | |
| 3712 | rt_weak sysret_t sys_vfork(void) |
| 3713 | { |