Search Results

Search: Posts Made By: denoir
Forum: Programming 05-28-2002
4,054
Posted By denoir
Never mind. Problem solved! My read function...
Never mind. Problem solved!
My read function didn't wait for EOF so it didn't get the entire buffer. The solution was instead of doing one read to do:

while((rch = read(pipor[0], buff,...
Forum: Programming 05-28-2002
61,175
Posted By denoir
If your c file is myfile.c, then gcc -o...
If your c file is myfile.c, then

gcc -o myfile myfile.c

will produce an executable file called 'myfile'
Forum: Programming 05-27-2002
4,054
Posted By denoir
Wierd pipe problem
I have encountered a strange problem dealing with pipes
and forking. The program basicaly does this:

cat file | tbl | eqn | groff

Now, I have a parent process that forks children
that that...
Showing results 1 to 3 of 3

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