files
umka/io_async.h
Ivan Baravy be21f83af2 Split vnet driver to generic vnet part, tap and file interfaces
Fix most compilation issues of umka_shell on Windows(R)(TM), not all
of them.
2023-02-01 18:55:20 +00:00

28 lines
520 B
C

/*
SPDX-License-Identifier: GPL-2.0-or-later
UMKa - User-Mode KolibriOS developer tools
io_async - input/output platform specific code
Copyright (C) 2023 Ivan Baravy <dunkaist@gmail.com>
*/
#ifndef IO_ASYNC_H_INCLUDED
#define IO_ASYNC_H_INCLUDED
#include <stddef.h>
void *
io_async_init();
void
io_async_close(void *arg);
ssize_t
io_async_read(int fd, void *buf, size_t count, void *arg);
ssize_t
io_async_write(int fd, const void *buf, size_t count, void *arg);
#endif // IO_ASYNC_H_INCLUDED