* new StrHelper::strzcpy()
This commit is contained in:
1 parent
395b026e6c
commit
a896b9c5f7
4 files changed
+13
-3
No files matched your search
@@ -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