8 extern size_t strlcpy(char *dest
, const char *src
, size_t size
);
9 extern int slprintf(char *dst
, size_t size
, const char *fmt
, ...) __check_format_printf(3, 4);
10 extern int slprintf_nocheck(char *dst
, size_t size
, const char *fmt
, ...);
11 extern char *strtrim_right(char *p
, char c
);
12 extern noinline
void *xmemset(void *s
, int c
, size_t n
);
13 extern char *argv2str(int startind
, int argc
, char **argv
);
14 extern char **argv_insert(char **argv
, size_t *count
, const char *str
);
15 extern void argv_free(char **argv
);
16 extern int str2mac(const char *str
, uint8_t *mac
, size_t len
);