Praktikum 07 Aufgaben 1,2 ausgeführt.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -37,6 +37,7 @@ int main(void) {
|
||||
case 0:
|
||||
i++;
|
||||
sprintf(str, "%d",i); // convert integer i to string str
|
||||
retval = execl("./ChildProcA2.r", "ChildProcA2.e", str, NULL);
|
||||
retval = execl("./ChildProcA2.e", "ChildProcA2.e", str, NULL);
|
||||
if (retval < 0) perror("\nexecl not successful");
|
||||
break;
|
||||
@@ -48,6 +49,7 @@ int main(void) {
|
||||
break;
|
||||
}
|
||||
printf("\n. . . . . und wer bin ich ?\n\n");
|
||||
printf("Status: %d\n", status);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user