Clan x86

Technical (Development, Security, etc.) => General Programming => Topic started by: iago on November 19, 2005, 03:37:16 pm

Title: strtok() manpage
Post by: iago on November 19, 2005, 03:37:16 pm
I've always love this man-page.  I figured i'd share it:

Quote
       Never 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.
Title: Re: strtok() manpage
Post by: Sidoh on November 19, 2005, 03:55:02 pm
Haha, that is pretty good :D