mirror of
https://github.com/drasko/codezero.git
synced 2026-01-29 11:13:14 +01:00
Unstable changes for ipc - Fork fails for some reason
This commit is contained in:
@@ -18,6 +18,7 @@ int forktest(void)
|
||||
|
||||
/* 16 forks */
|
||||
for (int i = 0; i < 4; i++)
|
||||
test_printf("%d: Forking...\n", getpid());
|
||||
if (fork() < 0)
|
||||
goto out_err;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <stdio.h>
|
||||
#include <tests.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
int shmtest(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user