libuv/include
Joran Dirk Greef 4b666bd2d8 unix,win: add fs open flags, map O_DIRECT|O_DSYNC
Define stable cross-platform file open constants so that users can
pass `UV_FS_O_RDWR` rather than `_O_RDWR` (win) or `O_RDWR` (unix).

Map `UV_FS_O_DIRECT`, `UV_FS_O_DSYNC` and `UV_FS_O_SYNC` to
`FILE_FLAG_NO_BUFFERING` and `FILE_FLAG_WRITE_THROUGH` (win).

Fixes: https://github.com/libuv/libuv/issues/1550
PR-URL: https://github.com/libuv/libuv/pull/1567
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
2017-10-03 12:49:54 +02:00
..
android-ifaddrs.h android: add support of ifaddrs in android 2014-03-16 23:16:25 +01:00
pthread-barrier.h android: fix compilation with new NDK versions 2017-07-25 22:50:39 +02:00
stdint-msvc2008.h build: switch to autotools 2013-07-02 01:21:16 +02:00
tree.h build: switch to autotools 2013-07-02 01:21:16 +02:00
uv-aix.h aix: improve AIX compatibility 2014-07-22 22:57:24 +02:00
uv-bsd.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-darwin.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-errno.h unix, windows: map EREMOTEIO errno 2017-07-17 13:31:58 +02:00
uv-linux.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-os390.h zos: make platform functional 2017-01-18 08:42:59 -06:00
uv-posix.h unix: add a uv__io_poll impl using POSIX poll(2) 2017-05-21 16:12:19 +02:00
uv-sunos.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-threadpool.h unix, windows: use the same threadpool implementation 2014-06-27 14:27:04 +02:00
uv-unix.h unix,win: add fs open flags, map O_DIRECT|O_DSYNC 2017-10-03 12:49:54 +02:00
uv-version.h Now working on version 1.15.1 2017-10-02 19:41:06 -04:00
uv-win.h unix,win: add fs open flags, map O_DIRECT|O_DSYNC 2017-10-03 12:49:54 +02:00
uv.h unix,win: add uv_mutex_init_recursive() 2017-10-02 10:01:09 -04:00