finish adding ecore_strlcat...

SVN revision: 28381
This commit is contained in:
rephorm 2007-02-17 06:25:53 +00:00 committed by rephorm
parent b482466910
commit e0ceaf7b11
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ extern "C" {
/* strlcpy implementation for libc's lacking it */
EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);
EAPI size_t ecore_strlcat(char *dst, const char *src, size_t siz);
EAPI int ecore_str_has_prefix(const char *str, const char *prefix);

View File

@ -68,7 +68,7 @@ ecore_strlcpy(char *dst, const char *src, size_t siz)
* If retval >= siz, truncation occurred.
*/
size_t
strlcat(char *dst, const char *src, size_t siz)
ecore_strlcat(char *dst, const char *src, size_t siz)
{
char *d = dst;
const char *s = src;