xref: /freebsd/contrib/libdiff/compat/include/string.h (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1 /*
2  * string.h compatibility shim
3  * Public domain
4  */
5 
6 #include_next <string.h>
7 
8 #ifndef DIFFCOMPAT_STRING_H
9 #define DIFFCOMPAT_STRING_H
10 
11 #include <sys/types.h>
12 
13 size_t strlcpy(char *dst, const char *src, size_t dstsize);
14 size_t strlcat(char *dst, const char *src, size_t dstsize);
15 
16 #endif
17