[Qt-interest] [OT] RE: Antwort: Re: Writing file.
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Wed Apr 8 18:48:28 CEST 2009
No excuses... 50 lashes with a wet noodle!
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Oliver.Knoll at comit.ch
> Sent: Wednesday, April 08, 2009 9:28 AM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] [OT] RE: Antwort: Re: Writing file.
>
> Markus Franke wrote on Wednesday, April 08, 2009 1:47 PM:
>
> > Hello,
> >
> > sorry if this is a little bit off-topic here.
> >
> > qt-interest-bounces at trolltech.com schrieb am 08.04.2009 13:08:44:
> >
> >> Simply try closing
> >> the file at the end of your function or call flush() to force the
> >> data to be written to disk.
> >
> > Does a call to fflush() really ensure the data to be written to
> > disk???
>
> I was wrong also, off course it is fsync() which tells the OS to pass
along
> the buffered data to the harddisk controller (which on its turn might
still
> buffer the data for as long as it thinks it is necessary) - but I have
a good
> excuse, I confused fflush() with glFlush() (which indeed causes the
buffered
> OpenGL commands to be executed).
>
> ;)
>
> Cheers, Oliver
>
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list