From d0ece36e8a041cb3d58194c18d736a0ef9105e75 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 22 Sep 2024 21:25:56 -0600 Subject: wip --- netio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netio.h') diff --git a/netio.h b/netio.h index 53233cb..8d9fa50 100644 --- a/netio.h +++ b/netio.h @@ -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_ */ -- cgit v1.2.3-2-g168b