1STRSEP(9)                  Basic C Library Functions                 STRSEP(9)
2
3
4

NAME

6       strsep - Split a string into tokens
7

SYNOPSIS

9       char * strsep(char ** s, const char * ct);
10

ARGUMENTS

12       s
13           The string to be searched
14
15       ct
16           The characters to search for
17

DESCRIPTION

19       strsep updates s to point after the token, ready for the next call.
20
21       It returns empty tokens, too, behaving exactly like the libc function
22       of that name. In fact, it was stolen from glibc2 and de-fancy-fied.
23       Same semantics, slimmer shape. ;)
24
26Kernel Hackers Manual 2.6.         June 2019                         STRSEP(9)
Impressum