Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] stdout redirection
- Date: Fri, 02 Mar 2007 14:36:55 +0900
- From: Darren Cook <darren@??>
- Subject: Re: [tlug] stdout redirection
- References: <a96ae3bb0703012118l58e05306t9470ac9ec4d96dc0@example.com>
- User-agent: Thunderbird 1.5.0.9 (X11/20070102)
> I have a (C) program ("myprog") which outputs messages to stdout and > stderr while running. ... > 1) In the case the program does not return (i.e., waiting for a > message or something, need to use Ctrl-C to terminate it), > log_stdout.txt is empty You need to flush stdout (e.g. fflush(); or fflush(stdout);) to be sure all the output has gone. (Or switch off buffering, but flushing is easier). Darren
- References:
- [tlug] stdout redirection
- From: Hector Akamine
Home | Main Index | Thread Index
- Prev by Date: [tlug] stdout redirection
- Next by Date: Re: [tlug] Re: KDDI cellphones and encoding
- Previous by thread: [tlug] stdout redirection
- Next by thread: Re: [tlug] stdout redirection
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links