Tor 0.4.9.2-alpha-dev
|
Header for compat_string.c. More...
Go to the source code of this file.
Macros | |
#define | tor_strtok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts) |
Functions | |
size_t | strlcat (char *dst, const char *src, size_t siz) |
size_t | strlcpy (char *dst, const char *src, size_t siz) |
char * | tor_strtok_r_impl (char *str, const char *sep, char **lasts) |
Header for compat_string.c.
Definition in file compat_string.h.
#define tor_strtok_r | ( | str, | |
sep, | |||
lasts | |||
) | tor_strtok_r_impl(str, sep, lasts) |
Definition at line 62 of file compat_string.h.
size_t strlcat | ( | char * | dst, |
const char * | src, | ||
size_t | siz | ||
) |
size_t strlcpy | ( | char * | dst, |
const char * | src, | ||
size_t | siz | ||
) |
char * tor_strtok_r_impl | ( | char * | str, |
const char * | sep, | ||
char ** | lasts | ||
) |
Implementation of strtok_r for platforms whose coders haven't figured out how to write one. Hey, retrograde libc developers! You can use this code here for free!
Definition at line 45 of file compat_string.c.