strtok (3) Linux Manual Page
strtok, strtok_r – extract tokens from strings Synopsis #include <string.h> char *strtok(char *str, const char *delim); char *strtok_r(char *str, const char *delim, char **saveptr); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): strtok_r(): _POSIX_C_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE Description The strtok() function breaks a string into a sequence of zero or more nonempty tokens. On the…
