refactor(socket): update sock_readall
This commit is contained in:
@@ -29,7 +29,7 @@ int sock_platform_init();
|
||||
int sock_close(int socket);
|
||||
|
||||
/* Read/Write all to socket */
|
||||
int sock_readall(int socket, void *out, size_t n);
|
||||
int sock_readall(int sockfd, void *buf, size_t bufsize);
|
||||
int sock_writeall(int socket, const void *buf, size_t n);
|
||||
|
||||
/* Use at exit */
|
||||
|
||||
Reference in New Issue
Block a user