X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtok_r.c;h=6b380832ad082c110425f5de26c4833683c8c3df;hb=e57dfac3355164cfbfcb5473a42130dab793fe9f;hp=83064a3eb1a78d13c39e27c3515b4d827c87638c;hpb=e606c288b838e1cc23db903b8e41f2f058cda932;p=gnulib.git diff --git a/lib/strtok_r.c b/lib/strtok_r.c index 83064a3eb..6b380832a 100644 --- a/lib/strtok_r.c +++ b/lib/strtok_r.c @@ -41,17 +41,6 @@ x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = strtok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" - - For the POSIX documentation for this function, see: - http://www.opengroup.org/onlinepubs/009695399/functions/strtok.html - - Caveat: It modifies the original string. - Caveat: These functions cannot be used on constant strings. - Caveat: The identity of the delimiting character is lost. - Caveat: It doesn't work with multibyte strings unless all of the delimiter - characters are ASCII characters < 0x80. - - See also strsep(). */ char * __strtok_r (char *s, const char *delim, char **save_ptr)