summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/strtok_r.texi
blob: f84155a05a36146d56c162ae4753f01665d61a21 (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{http://www.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 9.
@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