1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
Files
archived-php-src/main
David Gebler cbcfd86026 Add fsync() and fdatasync() functions
fsync is a straightforward wrapper around the same C function
(implemented on Windows API as _commit() with identical signature).

From the man pages:

    fsync() transfers ("flushes") all modified in-core data of (i.e.,
    modified buffer cache pages for) the file referred to by the file
    descriptor fd to the disk device (or other permanent storage
    device) so that all changed information can be retrieved even if
    the system crashes or is rebooted.  This includes writing through
    or flushing a disk cache if present.  The call blocks until the
    device reports that the transfer has completed.

RFC: https://wiki.php.net/rfc/fsync_function

Closes GH-6650.
2021-04-13 16:09:22 +02:00
..
2021-04-13 12:09:37 +02:00
2021-04-13 12:09:37 +02:00
2020-06-08 10:38:45 +02:00
2021-04-13 12:09:37 +02:00
2021-04-13 12:09:37 +02:00
2020-09-11 14:49:07 +02:00
2021-04-13 12:09:37 +02:00
2020-01-27 13:32:51 +01:00
2021-01-15 12:33:06 +01:00
2020-06-08 10:38:45 +02:00
2020-10-16 17:32:02 +02:00
2020-03-26 11:49:27 +01:00
2021-03-17 12:14:26 +01:00
2020-10-09 11:37:27 +02:00
2021-03-22 10:48:59 +01:00
2021-04-13 12:09:37 +02:00
2021-04-13 12:09:37 +02:00
2021-01-15 12:33:06 +01:00
2021-04-13 12:09:37 +02:00
2021-04-13 12:09:37 +02:00