diff options
Diffstat (limited to 'netio.h')
-rw-r--r-- | netio.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ int netio_listen(uint16_t port); int netio_accept(int sock); -int netio_read(int conn, void *buf, size_t count); -int netio_write(int conn, void *buf, size_t count); +size_t netio_read(int conn, void *buf, size_t count); +size_t netio_write(int conn, void *buf, size_t count); int netio_close(int conn, bool rd, bool wr); #endif /* _NETIO_H_ */ |