X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrtok_r.c;h=4a21cae97068af6ad2c0fda609ca70228a5fb5ab;hb=4c399534696c5acbe5ecb57c40f2b5841cb8320d;hp=83064a3eb1a78d13c39e27c3515b4d827c87638c;hpb=e606c288b838e1cc23db903b8e41f2f058cda932;p=gnulib.git diff --git a/lib/strtok_r.c b/lib/strtok_r.c index 83064a3eb..4a21cae97 100644 --- a/lib/strtok_r.c +++ b/lib/strtok_r.c @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include @@ -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)