This commit is contained in:
Debucquoy
2023-11-08 09:42:46 +01:00
parent dfe4fd3729
commit 58acfde2b4
6 changed files with 148 additions and 3 deletions

14
bac2/os/chap3/ex2.c Normal file
View File

@ -0,0 +1,14 @@
#include <unistd.h>
#include <stdio.h>
#define printvi(X) printf("%s = %d\n", #X, X);
int main(void)
{
printvi(getpid());
pid_t f = fork();
if(f != 0)
getchar();
}