75481e352b
--HG-- branch : dvander extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%402
19 lines
386 B
C
19 lines
386 B
C
/* prototypes for strlcpy() and strlcat() */
|
|
|
|
#include <stddef.h>
|
|
|
|
#if defined __WATCOMC__ && __WATCOMC__ >= 1240
|
|
/* OpenWatcom introduced BSD "safe string functions" with version 1.4 */
|
|
#define HAVE_SAFESTR
|
|
#endif
|
|
|
|
#if !defined HAVE_SAFESTR
|
|
|
|
size_t
|
|
strlcpy(char *dst, const char *src, size_t siz);
|
|
|
|
size_t
|
|
strlcat(char *dst, const char *src, size_t siz);
|
|
|
|
#endif
|