Advertisement
Guest User

AAAAAAA

a guest
Nov 19th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <unistd.h>
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7. printf("Kind_1 ...\n");
  8. printf("Vater : %d und Ich(das Kind): %d Uhr: %d",getppid(),getpid(),system("date"));
  9.  
  10. sleep(10);
  11. printf("Kind1 schließt sich ");
  12. exit(EXIT_SUCCESS);
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement