* new StrHelper::strzcpy()
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user