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