safer string copy

This commit is contained in:
iceman1001 committed 2020-01-04 16:29:17 +01:00
1 parent 4da12a6089
commit 3b792f8b04
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -99,6 +99,6 @@ bool str_endswith(const char *s, const char *suffix); // check for suffix in
void clean_ascii(unsigned char *buf, size_t len);
void strcleanrn(char *buf, size_t len);
void strcreplace(char *buf, size_t len, char from, char to);
char *strmcopy(const char *buf);
char *strmcopy(const char *src);
int hexstring_to_u96(uint32_t *hi2, uint32_t *hi, uint32_t *lo, const char *str);
#endif