add some additional output messages
This commit is contained in:
parent
c355adb300
commit
09a2ea194a
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
pid_t pid = fork();
|
||||
|
||||
printf("Create child process...\n");
|
||||
if (pid == 0) // child
|
||||
printf("Hello from child process!\n");
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue