|
From: | Michael D Godfrey |
Subject: | Re: wait_for_file ?? |
Date: | Fri, 03 Sep 2010 07:45:47 -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 03:18 AM, Olaf Till wrote:
Weird, but true. C is like that. The tests that I ran lastSorry for meddling in, but I think you are wrong here. fclose not implying fflush would be really weird. Olaf night also prove that this is true. This actually ranks with the fact that free() does not actually free the malloc'ed memory. And, of course, the fact that fclose(fp) leaves fp as a file descriptor with which you can continue to do IO. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |