[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Synchronous file IO in Lua?
- From: Steffen Nurpmeso <steffen@...>
- Date: Wed, 21 Sep 2022 00:12:03 +0200
(Hello! Very long time lurker, not lua-proof ..yet.. but thanks!)
DENIS wrote in
<1835cab5f31.11fcb763b1681145.974530446556843638@denis.com.br>:
|u can implement fsync() easly on io lib.
|
|note:
|
|fsync is POSIX (not ANSI)
|
|http://www.delorie.com/djgpp//doc/libc-2.02/libc_322.html
(Some systems require additional things for a full
synchronization, like fcntl(2) F_FULLFSYNC on MacOS .. ten years
ago. Likely to have the basic / standard things faster.)
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)