* new StrHelper::strzcpy()

This commit is contained in:
Scott Powell committed 2025-02-22 20:10:31 +11:00
1 parent 395b026e6c
commit a896b9c5f7
4 files changed
+13 -3

No files matched your search

+1
View File
@@ -10,4 +10,5 @@
class StrHelper {
public:
static void strncpy(char* dest, const char* src, size_t buf_sz);
static void strzcpy(char* dest, const char* src, size_t buf_sz); // pads with trailing nulls
};