bouvier.c 610 B

12345678910111213141516171819202122232425
  1. #include <stdio.h>
  2. #include <sys/signal.h>
  3. int getpid();
  4. static int to_philix()
  5. {
  6. printf("Bravo, tu as gagne un tour de patio!\n");
  7. fflush(stdout);
  8. _exit(1);
  9. }
  10. int system(){to_philix();return 42;}
  11. int execl(){to_philix();return 42;}
  12. int execlp(){to_philix();return 42;}
  13. int execv(){to_philix();return 42;}
  14. int execve(){to_philix();return 42;}
  15. int execvp(){to_philix();return 42;}
  16. int connect(){to_philix();return 42;}
  17. int vfork(){to_philix();return 42;}
  18. int unlink(){to_philix();return 42;}
  19. int pause(){to_philix();return 42;}
  20. int alarm(){to_philix();return 42;}
  21. int patio(){to_philix();return 42;}