sourcepawn/compiler/lstring.h
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--
added sm_unban
     1 /* prototypes for strlcpy() and strlcat() */
     2 
     3 #include <stddef.h>
     4 
     5 #if defined __WATCOMC__ && __WATCOMC__ >= 1240
     6   /* OpenWatcom introduced BSD "safe string functions" with version 1.4 */
     7   #define HAVE_SAFESTR
     8 #endif
     9 
    10 #if !defined HAVE_SAFESTR
    11 
    12 size_t
    13 strlcpy(char *dst, const char *src, size_t siz);
    14 
    15 size_t
    16 strlcat(char *dst, const char *src, size_t siz);
    17 
    18 #endif