|
From: | Michael D Godfrey |
Subject: | Re: wait_for_file ?? |
Date: | Fri, 03 Sep 2010 18:58:46 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2 |
On 09/03/2010 06:37 PM, Dmitri A. Sergatskov wrote:
I know it says that, but it is not always true. In this case, insertingThe fclose() function will flushes the stream pointed to by fp (writing any buffered output data using fflush(3)) and closes the underlying file descriptor.MichaelI am not an expert, but there is something fishy is going on... Dmitri. -- a fflush() ahead of the fclose() made an obvious change to the behavior. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |