| author | David Anderson <dvander@alliedmods.net> |
| Fri Jun 08 03:50:23 2007 +0000 (2007-06-08) | |
| changeset 925 | 2cd3d817b5ab |
| parent 27 | 764c6dd3dc25 |
| permissions | -rw-r--r-- |
1 /* prototypes for strlcpy() and strlcat() */
3 #include <stddef.h>
5 #if defined __WATCOMC__ && __WATCOMC__ >= 1240
6 /* OpenWatcom introduced BSD "safe string functions" with version 1.4 */
7 #define HAVE_SAFESTR
8 #endif
10 #if !defined HAVE_SAFESTR
12 size_t
13 strlcpy(char *dst, const char *src, size_t siz);
15 size_t
16 strlcat(char *dst, const char *src, size_t siz);
18 #endif