Go to the documentation of this file.
11 #ifndef _RTE_STRING_FNS_H_
12 #define _RTE_STRING_FNS_H_
48 char **tokens,
int maxtokens,
char delim);
56 rte_strlcpy(
char *dst,
const char *src,
size_t size)
58 return (
size_t)snprintf(dst, size,
"%s", src);
62 #ifdef RTE_EXEC_ENV_BSDAPP
65 #define strlcpy(dst, src, size) rte_strlcpy(dst, src, size)
71 #include <bsd/string.h>
74 #define strlcpy(dst, src, size) rte_strlcpy(dst, src, size)