ASR3.1/TP2/Exercices/Ex2.c

12 lines
221 B
C
Raw Normal View History

2021-09-22 15:12:02 +02:00
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
int main(int argc, char const *argv[]) {
write(1, "mammouth", 8);
pid_t psid = fork();
if (psid == 0) {
write(1, "\nlapinou", 8);
}
return EXIT_SUCCESS;
}