Re: Reliability of small database system

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

I'm having some issues with the standard library flush() function. It doesn't appear to be writing buffered output to disk in the Windows platform. More testing required.

It turns out that flush() is working quite okay. The problem I was having when using a file opened for "update". It appears that you have to do an explicit seek() prior to a write. Just relying on the file cursor left by reading bytes is not enough.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu