| author | Nicholas Hastings <skamonkey@gmail.com> |
| Fri Oct 28 20:27:44 2011 -0400 (2011-10-28) | |
| changeset 3428 | 2200d218c91c |
| 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