News:

Who uses forums anymore?

Main Menu

strtok() manpage

Started by iago, November 19, 2005, 03:37:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iago

I've always love this man-page.  I figured i'd share it:

QuoteNever use these functions. If you do, note that:

              These functions modify their first argument.

              These functions cannot be used on constant strings.

              The identity of the delimiting character is lost.

              The  strtok()  function  uses a static buffer while
              parsing, so it's not thread safe. Use strtok_r() if
              this matters to you.

Sidoh

Haha, that is pretty good :D