* new StrHelper::strzcpy()

This commit is contained in:
Scott Powell
2025-02-22 20:10:31 +11:00
والد 37f4ceff85
کامیت fc4e5ed54c
4فایلهای تغییر یافته به همراه13 افزوده شده و 3 حذف شده
@@ -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
};