forked from enlightenment/efl
parent
b482466910
commit
e0ceaf7b11
|
@ -41,6 +41,7 @@ extern "C" {
|
||||||
|
|
||||||
/* strlcpy implementation for libc's lacking it */
|
/* strlcpy implementation for libc's lacking it */
|
||||||
EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);
|
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);
|
EAPI int ecore_str_has_prefix(const char *str, const char *prefix);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ ecore_strlcpy(char *dst, const char *src, size_t siz)
|
||||||
* If retval >= siz, truncation occurred.
|
* If retval >= siz, truncation occurred.
|
||||||
*/
|
*/
|
||||||
size_t
|
size_t
|
||||||
strlcat(char *dst, const char *src, size_t siz)
|
ecore_strlcat(char *dst, const char *src, size_t siz)
|
||||||
{
|
{
|
||||||
char *d = dst;
|
char *d = dst;
|
||||||
const char *s = src;
|
const char *s = src;
|
||||||
|
|
Loading…
Reference in New Issue