Re: Win32 and fsync()

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Win32 and fsync()
Дата
Msg-id Pine.LNX.4.21.0302041000590.24830-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: Win32 and fsync()  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
On Mon, 3 Feb 2003, Andrew Dunstan wrote:

> I'm also fairly sure I saw something like
>     #define fsync _commit
> in the Berkeley DB sources the other day, which might be a clue.
> 
> I'll be happy to be corrected, though.

You'd be right:

/** Win32 has fsync, getcwd, snprintf and vsnprintf, but under different names.*/
#define fsync(fd)       _commit(fd)

Funny Win32-ism

Still not sure if it has the same semantics as Unix fsync() but sleepycat
(Berkeley) DB seems to think so.

Gavin



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Win32 and fsync()
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Win32 and fsync()