Search Results

Search: Posts Made By: Phantom12345
2,407
Posted By Phantom12345
Nathan Thanks that seems to make perfect...
Nathan

Thanks that seems to make perfect sense
2,407
Posted By Phantom12345
Question on forks and pipes
I am trying to figure out why when i have the following code

int main( { printf("0\n"); fork(); printf("1\n"); exit(0);}

and type in the shell

a.out | cat

the output of this program is ...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy