* strncpy() refactor/fix

This commit is contained in:
Scott Powell committed 2025-02-22 19:41:24 +11:00
1 parent 4bf16344cd
commit 395b026e6c
6 files changed
+28 -26

No files matched your search

+5
View File
@@ -6,3 +6,8 @@
#define TXT_TYPE_PLAIN 0 // a plain text message
#define TXT_TYPE_CLI_DATA 1 // a CLI command
#define TXT_TYPE_SIGNED_PLAIN 2 // plain text, signed by sender
class StrHelper {
public:
static void strncpy(char* dest, const char* src, size_t buf_sz);
};