Merge io_linux.c and io_win.c into io.c

This commit is contained in:
2024-04-07 22:17:33 +02:00
parent befe32bcb2
commit 162fd65c47
5 changed files with 110 additions and 100 deletions
+9
View File
@@ -162,3 +162,12 @@ bool io_start_accept(struct io_context *ioc, io_handle handle,
*/
void io_wait(struct io_context *ioc,
struct io_event *ev);
io_handle io_open_file(struct io_context *ioc,
const char *name, int flags);
io_handle io_create_file(struct io_context *ioc,
const char *name, int flags);
io_handle io_listen(struct io_context *ioc,
const char *addr, int port);