Using mg_bzero to cleanup memory in mg_close_conn()

This commit is contained in:
cpq committed 2023-09-17 22:25:36 +01:00
1 parent a04c94444e
commit 7ecbbc517d
6 files changed
+293 -289

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
#define assert(x)
#endif
void mg_bzero(volatile unsigned char *buf, size_t len);
void mg_random(void *buf, size_t len);
char *mg_random_str(char *buf, size_t len);
uint16_t mg_ntohs(uint16_t net);