Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- int main(int argc, char *argv[])
- {
- printf("Kind_1 ...\n");
- printf("Vater : %d und Ich(das Kind): %d Uhr: %d",getppid(),getpid(),system("date"));
- sleep(10);
- printf("Kind1 schließt sich ");
- exit(EXIT_SUCCESS);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement