refactor(socket/mime): change function sign

This commit is contained in:
2026-01-14 02:17:25 +01:00
parent 76d00654ed
commit 4796ea7640
4 changed files with 7 additions and 15 deletions

View File

@@ -4,8 +4,8 @@
#include <myclib/mystring.h>
#include <sys/types.h>
size_t cws_socket_read(int sockfd, string_s *str);
ssize_t cws_socket_read(int sockfd, string_s *str);
size_t cws_socket_send(int sockfd, char *buffer, size_t len, int flags);
ssize_t cws_socket_send(int sockfd, const char *buffer, size_t len, int flags);
#endif