Search Results

Search: Posts Made By: smanandhar
Forum: Programming 10-01-2008
8,102
Posted By smanandhar
I think fflush() will not work for here. As...
I think fflush() will not work for here. As standard output uses line buffer, printf() is automatically flushed using "\n"
Forum: Programming 09-29-2008
8,102
Posted By smanandhar
RE!!Redirect Standard Output Multi-Process
Hi!!

>> printf("I'm process %d, son of %d \n", getpid(), getppid());
>> printf("Hello \n");

This statements are buffered while parent execute them and redirected to a file. As you...
Showing results 1 to 2 of 2

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