summaryrefslogtreecommitdiff
path: root/doc/posix-functions/strtok_r.texi
blob: 1020661fc9b99827cbef471f265b0fe1b91e8c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@node strtok_r
@section @code{strtok_r}
@findex strtok_r

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtok_r.html}

Gnulib module: strtok_r

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14.
@item
This function crashes when invoked from code compiled with optimization enabled
on some platforms:
glibc 2.7.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function cannot work correctly on character strings in multibyte locales.
Gnulib provides an alternative function @code{mbstok_r} that works on character
strings in all locales.
@end itemize