Go to the documentation of this file.
11 #ifndef _RTE_STRING_FNS_H_
12 #define _RTE_STRING_FNS_H_
49 char **tokens,
int maxtokens,
char delim);
57 rte_strlcpy(
char *dst,
const char *src,
size_t size)
59 return (
size_t)snprintf(dst, size,
"%s", src);
63 #ifdef RTE_EXEC_ENV_BSDAPP
65 #define strlcpy(dst, src, size) rte_strlcpy(dst, src, size)
70 #include <bsd/string.h>
73 #define strlcpy(dst, src, size) rte_strlcpy(dst, src, size)
99 rte_strscpy(
char *dst,
const char *src,
size_t dsize);