X-Git-Url: https://git.piment-noir.org/?p=TD_IML.git;a=blobdiff_plain;f=TD1%2Fpart_two%2Fexo.c;fp=TD1%2Fpart_two%2Fexo.c;h=2f5e419062f7be8cdbbb37bc8ab14e23916da617;hp=430e74c089d001f28eb25490c34b7dc2914b776a;hb=39734ccae6323a4279011f81ed8d64c2e8ac1756;hpb=000bb88ff53b62a983a73e75b6e19dea79d63981 diff --git a/TD1/part_two/exo.c b/TD1/part_two/exo.c index 430e74c..2f5e419 100644 --- a/TD1/part_two/exo.c +++ b/TD1/part_two/exo.c @@ -1,11 +1,11 @@ -#include -#include - #include #include #include #include +#include +#include + void show_proc_pids() { pid_t current_pid = getpid(); pid_t parent_pid = getppid(); @@ -48,7 +48,7 @@ int main() { wait(NULL); exit(EXIT_SUCCESS); } - + /* unreachable code */ return EXIT_SUCCESS; }