Saleem Abdulrasool and Cory Benfield
b4e4f0211f
NIOCore: adjust system call helpers for Windows ( #2155 )
...
Windows does not provide a 3 parameter `open` and needs to be passed all
the parameters as `_open` is a variadic function (as per the
specification). This provides a Windows specific path for `open` and
`read` as on Darwin and Linux, `read` uses a non-standard return type
(`ssize_t`). As it happens, the `size` parameter on Windows also uses
`unsigned int` rather than `size_t` which would break on different
bitnesses.
Co-authored-by: Cory Benfield <lukasa@apple.com >
2022-06-07 06:08:32 -07:00
..
2022-05-04 09:33:57 -07:00
2022-06-06 11:26:06 +01:00
2022-05-13 12:39:03 +02:00
2022-05-30 11:00:34 -07:00
2022-02-21 03:38:38 -08:00
2022-02-21 03:38:38 -08:00
2022-05-06 12:34:31 +01:00
2022-05-06 12:34:31 +01:00
2021-10-21 16:57:25 +02:00
2021-11-22 14:58:52 +00:00
2022-05-03 08:55:23 -07:00
2022-05-31 13:21:41 +01:00
2021-08-02 12:39:28 +01:00
2022-06-01 06:32:17 -07:00
2022-06-01 08:42:24 -07:00
2022-05-09 15:31:36 +01:00
2022-06-01 08:42:24 -07:00
2022-05-06 12:34:31 +01:00
2022-06-01 08:24:21 -07:00
2022-06-01 05:58:16 -07:00
2021-08-02 12:39:28 +01:00
2022-02-22 01:37:47 -08:00
2022-05-30 10:41:18 +01:00
2021-12-03 08:27:55 -08:00
2022-05-30 11:35:23 +01:00
2021-12-03 08:27:55 -08:00
2022-05-30 11:35:23 +01:00
2021-08-02 12:39:28 +01:00
2022-06-07 05:44:36 -07:00
2022-05-10 16:42:19 +01:00
2021-07-14 09:58:25 +01:00
2022-05-03 08:55:23 -07:00
2022-06-07 04:49:19 -07:00
2022-05-30 18:15:24 +01:00
2021-08-02 12:39:28 +01:00
2021-08-06 13:42:29 +01:00
2022-05-06 12:34:31 +01:00
2021-08-06 13:42:29 +01:00
2021-08-02 12:39:28 +01:00
2022-06-01 05:28:43 -07:00
2022-05-17 08:58:11 +01:00
2021-07-14 09:58:25 +01:00
2022-06-01 16:08:04 +01:00
2022-06-01 08:24:21 -07:00
2022-06-07 04:49:19 -07:00
2022-05-10 09:19:54 +01:00
2022-06-07 06:08:32 -07:00
2021-08-02 12:39:28 +01:00
2021-08-03 08:56:45 +01:00
2022-05-04 09:33:57 -07:00