xref: /freebsd/contrib/libdiff/compat/include/string.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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