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