Add strlcat() and strlcpy(), might convert to them in the future

This commit is contained in:
Berke Viktor
2012-09-24 02:39:52 +02:00
parent ba0bcc9214
commit 2c2419f230
6 changed files with 97 additions and 1 deletions

2
src/common/strlutil.h Normal file
View File

@@ -0,0 +1,2 @@
size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);