summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/string.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 6149955ef..d7501eb83 100644
--- a/include/string.h
+++ b/include/string.h
@@ -373,6 +373,14 @@ extern char *basename (__const char *__filename) __THROW;
#endif
#endif
+#ifdef __USE_BSD
+/* Two OpenBSD extension functions. */
+extern size_t strlcat(char *__restrict dst, const char *__restrict src,
+ size_t n) __THROW;
+extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
+ size_t n) __THROW;
+#endif
+
__END_DECLS
#endif /* string.h */