diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-07-05 17:37:04 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-07-05 17:37:04 +0000 |
commit | 7e44245be2fc151ec20ac54071c2b3b6fd98ea19 (patch) | |
tree | e4ff062568ad8030f2de16f315aca844ffa31a4d /include | |
parent | b2d36db82ee6ce3779150f9b7670c397d9afd88d (diff) |
Update header for strlcat and strlcpy.
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 8 |
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 */ |